diff options
author | Silvio Rhatto <rhatto@riseup.net> | 2011-11-30 20:02:52 -0200 |
---|---|---|
committer | Silvio Rhatto <rhatto@riseup.net> | 2011-11-30 20:02:52 -0200 |
commit | de03056f323722400a80b1a08c282e9a85e62e8e (patch) | |
tree | e82521610bc3cd5d59531fdad634161b3aa1c549 /manifests | |
parent | c07d03094a219c7b8e8ffc94879f282909ea3c17 (diff) | |
download | puppet-reprepro-de03056f323722400a80b1a08c282e9a85e62e8e.tar.gz puppet-reprepro-de03056f323722400a80b1a08c282e9a85e62e8e.tar.bz2 |
Getting reprepro::cron::disabled into autoloading
Diffstat (limited to 'manifests')
-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, + } +} + |