]> gitweb.fluxo.info Git - puppet-nodo.git/commitdiff
Getting reprepro config from hiera
authorSilvio Rhatto <rhatto@riseup.net>
Fri, 25 Jan 2013 01:02:30 +0000 (23:02 -0200)
committerSilvio Rhatto <rhatto@riseup.net>
Fri, 25 Jan 2013 01:02:30 +0000 (23:02 -0200)
manifests/web.pp

index ef05dbe93bdc5a2d50f61998f5799f2df8f13c71..95528d5298290ebfe44be2665f6fa881fd76117e 100644 (file)
@@ -6,10 +6,11 @@ class nodo::web inherits nodo::vserver {
   include utils::web
 
   # Reprepro configuration
+  $reprepro = hiera('nodo::web::reprepro', false)
   $reprepro_basedir = '/var/reprepro'
 
   case $reprepro {
-    'enabled': {
+    true,'enabled': {
       include reprepro::cron
     }
     default: {