summaryrefslogtreecommitdiffstats
path: root/examples/svncommit
diff options
context:
space:
mode:
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
+}