Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- /etc/willtest:
- file.managed:
- - source: salt://sensu/files/sensu-api.monit
- sensu-all-grain:
- module.run:
- - name: grains.append
- - key: SENSU_CHECKS
- - val: all
- - listen_in:
- - file: /etc/willtest
- Output
- local:
- ----------
- ID: /etc/willtest
- Function: file.managed
- Result: True
- Comment: File /etc/willtest updated
- Started: 13:03:29.325420
- Duration: 162.881 ms
- Changes:
- ----------
- diff:
- New file
- mode:
- 0644
- ----------
- ID: sensu-all-grain
- Function: module.run
- Name: grains.append
- Result: True
- Comment: Module function grains.append executed
- Started: 13:03:29.488534
- Duration: 0.7 ms
- Changes:
- ----------
- ret:
- The val all was already in the list SENSU_CHECKS
- ----------
- ID: listener_/etc/willtest
- Function: file.mod_watch
- Name: /etc/willtest
- Result: False
- Comment: State 'file.mod_watch' found in SLS 'sensu.test' is unavailable
- Started:
- Duration:
- Changes:
- Summary
- ------------
- Succeeded: 2 (changed=2)
- Failed: 1
- ------------
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement