diff options
author | Silvio Rhatto <rhatto@riseup.net> | 2011-11-30 19:40:49 -0200 |
---|---|---|
committer | Silvio Rhatto <rhatto@riseup.net> | 2011-11-30 19:40:49 -0200 |
commit | a773f3ef540184502b9d8129e249878a8c6d6d74 (patch) | |
tree | a5e18b6a457f7d2864db0bc761d88f09dde64cb4 /manifests/cron.pp | |
parent | 9b12f42cf1618e210e4773c053854a1db7ca80b4 (diff) | |
download | puppet-reprepro-a773f3ef540184502b9d8129e249878a8c6d6d74.tar.gz puppet-reprepro-a773f3ef540184502b9d8129e249878a8c6d6d74.tar.bz2 |
Adding reprepro::cron::disabled
Diffstat (limited to 'manifests/cron.pp')
-rw-r--r-- | manifests/cron.pp | 11 |
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, + } +} |