Created
March 5, 2018 21:23
-
-
Save whytewolf/b48db787e38a7288bd31c818de5fae46 to your computer and use it in GitHub Desktop.
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
{% macro do_something(port) %} | |
/etc/init/dosomething-{{ port }}.conf: | |
file.managed: | |
- source: salt://files/etc/init/dosomething.conf | |
- user: root | |
- group: root | |
- mode: '0644' | |
- template: jinja | |
- context: | |
port: {{ port }} | |
{% endmacro %} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment