summaryrefslogtreecommitdiffstats
path: root/examples/svncommit
diff options
context:
space:
mode:
authorJames Turnbull <james@lovedthanlost.net>2008-07-10 19:52:26 +1000
committerJames Turnbull <james@lovedthanlost.net>2008-07-10 19:52:26 +1000
commit605d760dd72b7b6bd3fd54e9f6c3ffacb1b9ee52 (patch)
treebfab41f07b972f61585ef2fcf454ad9fdef6c832 /examples/svncommit
parentd25c2b282cc4cd703bba3d2457f93431098ddc85 (diff)
downloadpuppet-605d760dd72b7b6bd3fd54e9f6c3ffacb1b9ee52.tar.gz
puppet-605d760dd72b7b6bd3fd54e9f6c3ffacb1b9ee52.tar.xz
puppet-605d760dd72b7b6bd3fd54e9f6c3ffacb1b9ee52.zip
Moved debian to conf and updated examples directory
Diffstat (limited to 'examples/svncommit')
-rw-r--r--examples/svncommit13
1 files changed, 13 insertions, 0 deletions
diff --git a/examples/svncommit b/examples/svncommit
new file mode 100644
index 000000000..350cd8580
--- /dev/null
+++ b/examples/svncommit
@@ -0,0 +1,13 @@
+$path = "/usr/bin:/bin"
+
+file { "/tmp/svntests":
+ recurse => true,
+ checksum => md5
+}
+
+exec { "echo 'files have been updated'":
+ cwd => "/tmp/svntests",
+ refreshonly => true,
+ require => file["/tmp/svntests"],
+ path => $path
+}