]> gitweb.fluxo.info Git - puppet-nodo.git/commitdiff
Upgrading reprepro
authorSilvio Rhatto <rhatto@riseup.net>
Sat, 26 Jan 2013 12:11:10 +0000 (10:11 -0200)
committerSilvio Rhatto <rhatto@riseup.net>
Sat, 26 Jan 2013 12:11:10 +0000 (10:11 -0200)
manifests/web.pp

index 86aa9969f64ad909889386e27cfbcdb2117a51c1..66350aa275197441b4b0557772f21ab3386f5155 100644 (file)
@@ -11,9 +11,20 @@ class nodo::web inherits nodo::vserver {
 
   case $reprepro {
     true,'enabled': {
+      class { 'reprepro':
+        basedir   => '/var/reprepro',
+        uploaders => hiera('nodo::web::reprepro_uploaders', [ ]),
+      }
+
       include reprepro::cron
     }
+    false: { }
     default: {
+      class { 'reprepro':
+        basedir   => '/var/reprepro',
+        uploaders => hiera('nodo::web::reprepro_uploaders', [ ]),
+      }
+
       include reprepro::cron::disabled
     }
   }