diff options
-rw-r--r-- | manifests/host.pp | 2 | ||||
-rw-r--r-- | manifests/nodo.pp | 2 |
2 files changed, 2 insertions, 2 deletions
diff --git a/manifests/host.pp b/manifests/host.pp index 19d8f2a..eb907bb 100644 --- a/manifests/host.pp +++ b/manifests/host.pp @@ -37,7 +37,7 @@ class nodo::host inherits nodo { } # Monitoring - if !defined('nodo::subsystem::monitor') { + if !defined(Class['nodo::subsystem::monitor']) { class { 'nodo::subsystem::monitor': type => 'host', use_nagios => hiera('nodo::host::use_nagios', True), 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': } } |