summaryrefslogtreecommitdiff
path: root/manifests/cron.pp
diff options
context:
space:
mode:
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"] ]
+ }
+}