]> gitweb.fluxo.info Git - puppet-reprepro.git/commitdiff
Getting reprepro::cron::disabled into autoloading
authorSilvio Rhatto <rhatto@riseup.net>
Wed, 30 Nov 2011 22:02:52 +0000 (20:02 -0200)
committerSilvio Rhatto <rhatto@riseup.net>
Wed, 30 Nov 2011 22:02:52 +0000 (20:02 -0200)
manifests/cron.pp
manifests/cron/disabled.pp [new file with mode: 0644]

index a2e4a10808385d5ae5ad22e03c0e92ee0b1089d0..1fae59e4e1ad866720c1a582f5c64ee8c18a44fe 100644 (file)
@@ -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 (file)
index 0000000..9b40327
--- /dev/null
@@ -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,
+  }
+}
+