Skip to content

Instantly share code, notes, and snippets.

@ryan-lane
Created September 19, 2014 01:19
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 ryan-lane/69607524dca7b152651e to your computer and use it in GitHub Desktop.
Save ryan-lane/69607524dca7b152651e to your computer and use it in GitHub Desktop.
Make the directory:
file.directory:
- name: /tmp/mydir
Manage the directory:
file.managed:
- name: /tmp/mydir
- source: salt://blah
- recurse: True
@ryan-lane
Copy link
Author

Better:

Manage the directory:
  file.recurse:
    - name: /tmp/mydir
    - source: salt://blah

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment