summaryrefslogtreecommitdiff
path: root/manifests
diff options
context:
space:
mode:
authorSilvio Rhatto <rhatto@riseup.net>2013-01-26 11:06:38 -0200
committerSilvio Rhatto <rhatto@riseup.net>2013-01-26 11:06:38 -0200
commitd0fbf5ba42e196f40e65e7f1afa80b4115c31f31 (patch)
tree974aef5f740016a7910b0a64ed276ba4506da645 /manifests
parent6f8854f67fcdfc41fa41f0dc9491b505b253f1c3 (diff)
downloadpuppet-reprepro-d0fbf5ba42e196f40e65e7f1afa80b4115c31f31.tar.gz
puppet-reprepro-d0fbf5ba42e196f40e65e7f1afa80b4115c31f31.tar.bz2
Removing reprepro::cron::disabled
Diffstat (limited to 'manifests')
-rw-r--r--manifests/cron/disabled.pp6
-rw-r--r--manifests/disabled.pp8
-rw-r--r--manifests/purged.pp6
3 files changed, 13 insertions, 7 deletions
diff --git a/manifests/cron/disabled.pp b/manifests/cron/disabled.pp
deleted file mode 100644
index dd3062c..0000000
--- a/manifests/cron/disabled.pp
+++ /dev/null
@@ -1,6 +0,0 @@
-class reprepro::cron::disabled inherits reprepro::cron {
- Cron['reprepro'] {
- ensure => absent,
- require => undef,
- }
-}
diff --git a/manifests/disabled.pp b/manifests/disabled.pp
index 1d41261..9c822fc 100644
--- a/manifests/disabled.pp
+++ b/manifests/disabled.pp
@@ -1,3 +1,9 @@
class reprepro::disabled(
$basedir = '/srv/reprepro'
-) { }
+) {
+ cron { reprepro:
+ command => "/usr/bin/reprepro --silent -b ${reprepro::basedir} processincoming incoming",
+ user => reprepro,
+ ensure => absent,
+ }
+}
diff --git a/manifests/purged.pp b/manifests/purged.pp
index 342bb19..f5cb5d5 100644
--- a/manifests/purged.pp
+++ b/manifests/purged.pp
@@ -79,5 +79,11 @@ class reprepro::purged(
group => root,
mode => 755,
}
+
+ cron { reprepro:
+ command => "/usr/bin/reprepro --silent -b ${reprepro::basedir} processincoming incoming",
+ user => reprepro,
+ ensure => absent,
+ }
}