From: Silvio Rhatto Date: Wed, 30 Nov 2011 21:40:49 +0000 (-0200) Subject: Adding reprepro::cron::disabled X-Git-Url: https://gitweb.fluxo.info/?a=commitdiff_plain;h=a773f3ef540184502b9d8129e249878a8c6d6d74;p=puppet-reprepro.git Adding reprepro::cron::disabled --- 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, + } +}