Skip to content

Instantly share code, notes, and snippets.

@bloody76
Created February 26, 2016 11:01
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 bloody76/8e4a84bc558c769790fa to your computer and use it in GitHub Desktop.
Save bloody76/8e4a84bc558c769790fa to your computer and use it in GitHub Desktop.
{% macro my_macro(arg1) %}
{{ arg1 }}_file:
file.managed:
- name: /somewhere/{{ arg1 }}
- source: salt://files/{{ arg1 }}
{% endmacro %}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment