Navigation Menu

Skip to content

Instantly share code, notes, and snippets.

Created October 18, 2016 13:20
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 anonymous/848d072e6f3d8b70a9f53f892fb0ed50 to your computer and use it in GitHub Desktop.
Save anonymous/848d072e6f3d8b70a9f53f892fb0ed50 to your computer and use it in GitHub Desktop.
# SALT MASTER
fileserver_backend:
- roots
- s3fs
s3.keyid: XXX
s3.key: YYY
s3.buckets:
- mybucket
# in my bucket i have a base folder that contains the file.tar.gz
# MY STATE file
copy_file_from_s3:
file.managed:
- name: /tmp/file.tar.gz
- source: salt://file.tar.gz
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment