diff options
| author | James Turnbull <james@lovedthanlost.net> | 2008-07-10 19:52:26 +1000 |
|---|---|---|
| committer | James Turnbull <james@lovedthanlost.net> | 2008-07-10 19:52:26 +1000 |
| commit | 605d760dd72b7b6bd3fd54e9f6c3ffacb1b9ee52 (patch) | |
| tree | bfab41f07b972f61585ef2fcf454ad9fdef6c832 /examples/execs | |
| parent | d25c2b282cc4cd703bba3d2457f93431098ddc85 (diff) | |
| download | puppet-605d760dd72b7b6bd3fd54e9f6c3ffacb1b9ee52.tar.gz puppet-605d760dd72b7b6bd3fd54e9f6c3ffacb1b9ee52.tar.xz puppet-605d760dd72b7b6bd3fd54e9f6c3ffacb1b9ee52.zip | |
Moved debian to conf and updated examples directory
Diffstat (limited to 'examples/execs')
| -rw-r--r-- | examples/execs | 16 |
1 files changed, 16 insertions, 0 deletions
diff --git a/examples/execs b/examples/execs new file mode 100644 index 000000000..44f133098 --- /dev/null +++ b/examples/execs @@ -0,0 +1,16 @@ +$path = "/usr/bin:/bin" + +exec { "mkdir -p /tmp/fakedir": + path => $path +} + +exec { "rm -rf /tmp/fakedir": + path => $path +} + +exec { "touch /this/directory/does/not/exist": + path => $path, + returns => 1 +} + + |
