Advertisement
Guest User

Untitled

a guest
Nov 25th, 2014
153
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 1.23 KB | None | 0 0
  1. /etc/willtest:
  2. file.managed:
  3. - source: salt://sensu/files/sensu-api.monit
  4.  
  5. sensu-all-grain:
  6. module.run:
  7. - name: grains.append
  8. - key: SENSU_CHECKS
  9. - val: all
  10. - listen_in:
  11. - file: /etc/willtest
  12.  
  13.  
  14. Output
  15.  
  16. local:
  17. ----------
  18. ID: /etc/willtest
  19. Function: file.managed
  20. Result: True
  21. Comment: File /etc/willtest updated
  22. Started: 13:03:29.325420
  23. Duration: 162.881 ms
  24. Changes:
  25. ----------
  26. diff:
  27. New file
  28. mode:
  29. 0644
  30. ----------
  31. ID: sensu-all-grain
  32. Function: module.run
  33. Name: grains.append
  34. Result: True
  35. Comment: Module function grains.append executed
  36. Started: 13:03:29.488534
  37. Duration: 0.7 ms
  38. Changes:
  39. ----------
  40. ret:
  41. The val all was already in the list SENSU_CHECKS
  42. ----------
  43. ID: listener_/etc/willtest
  44. Function: file.mod_watch
  45. Name: /etc/willtest
  46. Result: False
  47. Comment: State 'file.mod_watch' found in SLS 'sensu.test' is unavailable
  48. Started:
  49. Duration:
  50. Changes:
  51.  
  52. Summary
  53. ------------
  54. Succeeded: 2 (changed=2)
  55. Failed: 1
  56. ------------
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement