Skip to content

Instantly share code, notes, and snippets.

@smcquay
Last active July 7, 2016 06:00
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 smcquay/2eb5c7d33a3bd921463b21d0e8628ac6 to your computer and use it in GitHub Desktop.
Save smcquay/2eb5c7d33a3bd921463b21d0e8628ac6 to your computer and use it in GitHub Desktop.
def bar(args):
return len(args) * 20
{% set threads = salt.foo.bar(['a', 'b', 'c']) %}
myfile:
file.managed:
- name: /usr/local/etc/foo.xml
- mode: 644
- source: salt://baz/foo.xml
- template: jinja
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment