summaryrefslogtreecommitdiff
path: root/manifests
diff options
context:
space:
mode:
authorSilvio Rhatto <rhatto@riseup.net>2011-11-30 20:02:52 -0200
committerSilvio Rhatto <rhatto@riseup.net>2011-11-30 20:02:52 -0200
commitde03056f323722400a80b1a08c282e9a85e62e8e (patch)
treee82521610bc3cd5d59531fdad634161b3aa1c549 /manifests
parentc07d03094a219c7b8e8ffc94879f282909ea3c17 (diff)
downloadpuppet-reprepro-de03056f323722400a80b1a08c282e9a85e62e8e.tar.gz
puppet-reprepro-de03056f323722400a80b1a08c282e9a85e62e8e.tar.bz2
Getting reprepro::cron::disabled into autoloading
Diffstat (limited to 'manifests')
-rw-r--r--manifests/cron.pp11
-rw-r--r--manifests/cron/disabled.pp11
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,
+ }
+}
+