Skip to content

Instantly share code, notes, and snippets.

@Akshaykapoor
Created December 16, 2014 19:08
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save Akshaykapoor/a160535a66ee0c2ef43c to your computer and use it in GitHub Desktop.
Save Akshaykapoor/a160535a66ee0c2ef43c to your computer and use it in GitHub Desktop.
THIS IS THE SALT STATE FOR COPYING THE TLS CRT FILE ONLY
/etc/pki/tls/certs/selfsigned.crt:
file.managed:
- source: salt://certs/*.test-124.pod2.hq.local.crt
- user: root
- group: root
THE ABOVE WORK, BUT IF I SPECIFY, *.crt, IT FAILS WITH FILE NOT FOUND
IS THE REGEX THE ONLY SOLUTION TO THIS ?
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment