Skip to content

Instantly share code, notes, and snippets.

@whytewolf
Last active March 1, 2017 23:47
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 whytewolf/fccbe7645275cef79cf6ee4f17e972f7 to your computer and use it in GitHub Desktop.
Save whytewolf/fccbe7645275cef79cf6ee4f17e972f7 to your computer and use it in GitHub Desktop.
output
salt01.wolfcloud.bad4.us_master:
----------
ID: test
Function: salt.state
Result: True
Comment: States ran successfully. Updating salt01.wolfcloud.bad4.us.
Started: 15:46:37.644516
Duration: 532.9 ms
Changes:
salt01.wolfcloud.bad4.us:
----------
ID: testing
Function: test.configurable_test_state
Name: test data testing
Result: True
Comment:
Started: 15:46:38.065405
Duration: 0.77 ms
Changes:
----------
testing:
----------
new:
Something pretended to change
old:
Unchanged
Summary for salt01.wolfcloud.bad4.us
------------
Succeeded: 1 (changed=1)
Failed: 0
------------
Total states run: 1
Total run time: 0.770 ms
Summary for salt01.wolfcloud.bad4.us_master
------------
Succeeded: 1 (changed=1)
Failed: 0
------------
Total states run: 1
Total run time: 532.900 ms
retcode:
0
{% set bob = 'testing' %}
test:
salt.state:
- tgt: 'salt01*'
- sls:
- testing.test2
- pillar:
'testing': 'test data {{bob}}'
testing:
test.configurable_test_state:
- name: {{pillar.testing}}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment