diff options
-rw-r--r-- | manifests/cron.pp | 11 | ||||
-rw-r--r-- | manifests/cron/disabled.pp | 11 |
2 files changed, 11 insertions, 11 deletions
diff --git a/manifests/cron.pp b/manifests/cron.pp index a2e4a10..1fae59e 100644 --- a/manifests/cron.pp +++ b/manifests/cron.pp @@ -6,14 +6,3 @@ 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"] { - noop => true, - } -} diff --git a/manifests/cron/disabled.pp b/manifests/cron/disabled.pp new file mode 100644 index 0000000..9b40327 --- /dev/null +++ b/manifests/cron/disabled.pp @@ -0,0 +1,11 @@ +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"] { + noop => true, + } +} + |