aboutsummaryrefslogtreecommitdiffstats
path: root/modules/rsnapshot/templates/cron_file
diff options
context:
space:
mode:
authorNicolas Vigier <boklm@mageia.org>2012-09-16 21:14:45 +0000
committerNicolas Vigier <boklm@mageia.org>2012-09-16 21:14:45 +0000
commitc535e518708b0f2a65b77864eb9bdd21c7715c7d (patch)
treed4c77a8e790614851d40be43780cf92ea8f125eb /modules/rsnapshot/templates/cron_file
parenta6d07f57b22d93c083582f684ea3ab28c4113edf (diff)
downloadpuppet-c535e518708b0f2a65b77864eb9bdd21c7715c7d.tar
puppet-c535e518708b0f2a65b77864eb9bdd21c7715c7d.tar.gz
puppet-c535e518708b0f2a65b77864eb9bdd21c7715c7d.tar.bz2
puppet-c535e518708b0f2a65b77864eb9bdd21c7715c7d.tar.xz
puppet-c535e518708b0f2a65b77864eb9bdd21c7715c7d.zip
add hourly, daily, weekly, monthly cron files
Diffstat (limited to 'modules/rsnapshot/templates/cron_file')
-rw-r--r--modules/rsnapshot/templates/cron_file5
1 files changed, 5 insertions, 0 deletions
diff --git a/modules/rsnapshot/templates/cron_file b/modules/rsnapshot/templates/cron_file
new file mode 100644
index 00000000..43ca9e1b
--- /dev/null
+++ b/modules/rsnapshot/templates/cron_file
@@ -0,0 +1,5 @@
+#!/bin/sh
+
+<%- for conf in @rsnapshot_conf -%>
+/usr/bin/rsnapshot -c <%= conf %> <%= rsnapshot_arg %>
+<%- end -%>