diff options
-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, + } +} |