Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- testfile:
- file:
- - managed
- - name: /tmp/x.txt
- - source: salt://x.txt
- cmd.wait:
- - name: touch y
- - cwd: /tmp/
- - watch:
- - file: testfile
- ==================================================================
- salt2:
- ----------
- State: - file
- Name: /tmp/x.txt
- Function: managed
- Result: True
- Comment: File /tmp/x.txt updated
- Changes: diff: ---
- +++
- @@ -1,1 +1,1 @@
- -11
- +22
- ----------
- State: - cmd
- Name: touch y
- Function: wait
- Result: True
- Comment: Command "touch y" run
- Changes: pid: 7320
- retcode: 0
- stderr:
- stdout:
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement