Created
August 2, 2013 13:20
-
-
Save felixhummel/6139818 to your computer and use it in GitHub Desktop.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
think master /srv/salt # salt-call --version | |
salt-call 0.15.1 | |
think master /srv/salt # ls -la /tmp/y | |
-rw-r--r-- 1 root root 0 Aug 2 15:18 /tmp/y | |
think master /srv/salt # | |
think master /srv/salt # echo 'changed' > x | |
think master /srv/salt # salt-call --local state.sls filewatch | |
[INFO ] Configuration file path: /etc/salt/minion | |
[INFO ] Executing command 'ps -efH' in directory '/home/felix' | |
[INFO ] Loading fresh modules for state activity | |
[INFO ] Executing state file.touch for /tmp/y | |
[INFO ] No changes made for /tmp/y | |
[INFO ] Executing state file.managed for /tmp/x | |
[INFO ] File changed: | |
--- | |
+++ | |
@@ -1 +1 @@ | |
-baz | |
+changed | |
local: | |
---------- | |
State: - file | |
Name: /tmp/y | |
Function: touch | |
Result: True | |
Comment: Updated times on file /tmp/y | |
Changes: | |
---------- | |
State: - file | |
Name: /tmp/x | |
Function: managed | |
Result: True | |
Comment: File /tmp/x updated | |
Changes: diff: --- | |
+++ | |
@@ -1 +1 @@ | |
-baz | |
+changed | |
think master /srv/salt # ls -la /tmp/y | |
-rw-r--r-- 1 root root 0 Aug 2 15:19 /tmp/y |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment