]> gitweb.fluxo.info Git - puppet-nodo.git/commitdiff
Just declared puppetd once
authorSilvio Rhatto <rhatto@riseup.net>
Thu, 24 Jan 2013 22:13:31 +0000 (20:13 -0200)
committerSilvio Rhatto <rhatto@riseup.net>
Thu, 24 Jan 2013 22:13:31 +0000 (20:13 -0200)
manifests/nodo.pp

index d05e3d6534b82fc55a0f5752d076e881fa554b3b..6259cd3a02157fa5d6fb1dce205acfaee7dd6073 100644 (file)
@@ -12,7 +12,10 @@ class nodo {
   include domain
   include concat::setup
 
-  class { 'puppetd': }
+  if !defined('puppetd') {
+    class { 'puppetd': }
+  }
+
   class { 'backup': }
 
   # Does not work well inside vservers