summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorSilvio Rhatto <rhatto@riseup.net>2011-11-30 19:40:49 -0200
committerSilvio Rhatto <rhatto@riseup.net>2011-11-30 19:40:49 -0200
commita773f3ef540184502b9d8129e249878a8c6d6d74 (patch)
treea5e18b6a457f7d2864db0bc761d88f09dde64cb4
parent9b12f42cf1618e210e4773c053854a1db7ca80b4 (diff)
downloadpuppet-reprepro-a773f3ef540184502b9d8129e249878a8c6d6d74.tar.gz
puppet-reprepro-a773f3ef540184502b9d8129e249878a8c6d6d74.tar.bz2
Adding reprepro::cron::disabled
-rw-r--r--manifests/cron.pp11
1 files changed, 11 insertions, 0 deletions
diff --git a/manifests/cron.pp b/manifests/cron.pp
index 1fae59e..c401918 100644
--- a/manifests/cron.pp
+++ b/manifests/cron.pp
@@ -6,3 +6,14 @@ class reprepro::cron inherits reprepro {
require => [ Package['reprepro'], File["$basedir/conf/distributions"] ]
}
}
+
+class reprepro::cron::disabled inherits reprepro::cron {
+ Cron['reprepro'] {
+ ensure => absent,
+ }
+
+ Exec["reprepro -b $basedir createsymlinks", "reprepro -b $basedir export",
+ "/usr/local/bin/reprepro-export-key", "/usr/local/bin/reprepro-export-key-update"] {
+ ensure => absent,
+ }
+}