Advertisement
Guest User

Untitled

a guest
Aug 2nd, 2013
40
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
  1. testfile:
  2. file:
  3. - managed
  4. - name: /tmp/x.txt
  5. - source: salt://x.txt
  6. cmd.wait:
  7. - name: touch y
  8. - cwd: /tmp/
  9. - watch:
  10. - file: testfile
  11.  
  12. ==================================================================
  13. salt2:
  14. ----------
  15. State: - file
  16. Name: /tmp/x.txt
  17. Function: managed
  18. Result: True
  19. Comment: File /tmp/x.txt updated
  20. Changes: diff: ---
  21. +++
  22. @@ -1,1 +1,1 @@
  23. -11
  24. +22
  25.  
  26.  
  27. ----------
  28. State: - cmd
  29. Name: touch y
  30. Function: wait
  31. Result: True
  32. Comment: Command "touch y" run
  33. Changes: pid: 7320
  34. retcode: 0
  35. stderr:
  36. stdout:
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement