summaryrefslogtreecommitdiffstats
path: root/examples/code/svncommit
diff options
context:
space:
mode:
Diffstat (limited to 'examples/code/svncommit')
-rw-r--r--examples/code/svncommit13
1 files changed, 13 insertions, 0 deletions
diff --git a/examples/code/svncommit b/examples/code/svncommit
new file mode 100644
index 000000000..350cd8580
--- /dev/null
+++ b/examples/code/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
+}