summaryrefslogtreecommitdiff
path: root/manifests/cron.pp
diff options
context:
space:
mode:
authorSilvio Rhatto <rhatto@riseup.net>2011-06-30 22:11:19 -0300
committerSilvio Rhatto <rhatto@riseup.net>2011-06-30 22:11:19 -0300
commitc61b6ea99eda76fb557eb9760b9ee315732d9bb5 (patch)
tree43399e992a2820e563960903590ec2f9723d6b86 /manifests/cron.pp
parent0048cdea096f3339925bff412bf72507529e73f7 (diff)
downloadpuppet-reprepro-c61b6ea99eda76fb557eb9760b9ee315732d9bb5.tar.gz
puppet-reprepro-c61b6ea99eda76fb557eb9760b9ee315732d9bb5.tar.bz2
Moving inotify and cron classes to custo files
Diffstat (limited to 'manifests/cron.pp')
-rw-r--r--manifests/cron.pp8
1 files changed, 8 insertions, 0 deletions
diff --git a/manifests/cron.pp b/manifests/cron.pp
new file mode 100644
index 0000000..1fae59e
--- /dev/null
+++ b/manifests/cron.pp
@@ -0,0 +1,8 @@
+class reprepro::cron inherits reprepro {
+ cron { reprepro:
+ command => "/usr/bin/reprepro --silent -b $basedir processincoming incoming",
+ user => reprepro,
+ minute => '*/5',
+ require => [ Package['reprepro'], File["$basedir/conf/distributions"] ]
+ }
+}