Created
April 7, 2015 13:55
-
-
Save neilhwatson/7e9b96d203bc30ca73d4 to your computer and use it in GitHub Desktop.
for iflow885
This file contains hidden or 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
| body common control | |
| { | |
| bundlesequence => { "main", }; | |
| } | |
| bundle agent main | |
| { | |
| vars: | |
| "ls" string => execresult( "/bin/ls -laZ /usr/bin/vim", "noshell" ); | |
| reports: | |
| "ls [${ls}]"; | |
| } | |
| newatson@ltipc682:~/.cfagent/inputs$ cf-agent -Kf ./ls.cf | |
| R: ls [-rwxr-xr-x root root ? /usr/bin/vim] |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment