]> gitweb.fluxo.info Git - puppet-nodo.git/commitdiff
Getting rid of a defined() call
authorSilvio Rhatto <rhatto@riseup.net>
Sat, 13 Apr 2013 21:19:14 +0000 (18:19 -0300)
committerSilvio Rhatto <rhatto@riseup.net>
Sat, 13 Apr 2013 21:19:14 +0000 (18:19 -0300)
manifests/base.pp

index 2648bdb6fdc9a633481743063b9eafe08ce3cab0..c1173a5680491fb7de414965c3d1e0f31e0e4232 100644 (file)
@@ -14,8 +14,8 @@ class nodo::base {
   class { 'nodo::subsystem::hosts': }
 
   # Include if not defined by nodo::master
-  if !defined(Class['puppet::daemon']) {
-    class { 'puppet::daemon': }
+  class { 'puppet::daemon':
+    master => hiera('nodo::role::master::main', false)
   }
 
   #