Skip to content

Instantly share code, notes, and snippets.

@whytewolf
Last active June 14, 2017 21:47
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save whytewolf/c26e1b8bb9770648882fd504244c2af5 to your computer and use it in GitHub Desktop.
Save whytewolf/c26e1b8bb9770648882fd504244c2af5 to your computer and use it in GitHub Desktop.
ls -l /tmp/con*
-rw-r--r-- 1 root root 0 Jun 14 10:21 /tmp/contents1
-rw-r--r-- 1 root root 0 Jun 14 10:21 /tmp/contents2
local:
----------
ID: /tmp/content4
Function: file.managed
Result: True
Comment: unless execution succeeded
Started: 14:42:33.594221
Duration: 3658.184 ms
Changes:
Summary for local
------------
Succeeded: 1
Failed: 0
------------
Total states run: 1
Total run time: 3.658 s
/tmp/content4:
file.managed:
- unless: test true
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment