aboutsummaryrefslogtreecommitdiff
path: root/manifests/nodo.pp
diff options
context:
space:
mode:
authorSilvio Rhatto <rhatto@riseup.net>2013-04-13 13:55:12 -0300
committerSilvio Rhatto <rhatto@riseup.net>2013-04-13 13:55:12 -0300
commit9e545e563a6a905ce3ac2dffbf120661944bef94 (patch)
treef618c8011332580aaab2aa6bc97dca26d6b791c5 /manifests/nodo.pp
parent1aaca2a6becd1e93d6c1c750ed146b7f03382eb7 (diff)
downloadpuppet-nodo-9e545e563a6a905ce3ac2dffbf120661944bef94.tar.gz
puppet-nodo-9e545e563a6a905ce3ac2dffbf120661944bef94.tar.bz2
Correctly check class declarations
Diffstat (limited to 'manifests/nodo.pp')
-rw-r--r--manifests/nodo.pp2
1 files changed, 1 insertions, 1 deletions
diff --git a/manifests/nodo.pp b/manifests/nodo.pp
index 97ef044..27d97fa 100644
--- a/manifests/nodo.pp
+++ b/manifests/nodo.pp
@@ -14,7 +14,7 @@ class nodo {
class { 'nodo::subsystem::hosts': }
# Include if not defined by nodo::master
- if !defined('puppet::daemon') {
+ if !defined(Class['puppet::daemon']) {
class { 'puppet::daemon': }
}