From 605d760dd72b7b6bd3fd54e9f6c3ffacb1b9ee52 Mon Sep 17 00:00:00 2001 From: James Turnbull Date: Thu, 10 Jul 2008 19:52:26 +1000 Subject: Moved debian to conf and updated examples directory --- examples/execs | 16 ++++++++++++++++ 1 file changed, 16 insertions(+) create mode 100644 examples/execs (limited to 'examples/execs') 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 +} + + -- cgit