Created
February 9, 2016 18:27
-
-
Save basepi/db0d2a08f1cf1fcbcd5b to your computer and use it in GitHub Desktop.
file.managed with two appends
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
append my two files: | |
file.managed: | |
- name: /tmp/myfile.txt | |
- source: salt://template.txt | |
- template: jinja |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
some static content that won't change | |
here is some more content | |
{{ pillar.get('first_piece') }} | |
{{ pillar.get('second_piece') }} | |
you can even place content after with this example |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment