diff options
author | Silvio Rhatto <rhatto@riseup.net> | 2013-04-13 13:55:12 -0300 |
---|---|---|
committer | Silvio Rhatto <rhatto@riseup.net> | 2013-04-13 13:55:12 -0300 |
commit | 9e545e563a6a905ce3ac2dffbf120661944bef94 (patch) | |
tree | f618c8011332580aaab2aa6bc97dca26d6b791c5 /manifests/host.pp | |
parent | 1aaca2a6becd1e93d6c1c750ed146b7f03382eb7 (diff) | |
download | puppet-nodo-9e545e563a6a905ce3ac2dffbf120661944bef94.tar.gz puppet-nodo-9e545e563a6a905ce3ac2dffbf120661944bef94.tar.bz2 |
Correctly check class declarations
Diffstat (limited to 'manifests/host.pp')
-rw-r--r-- | manifests/host.pp | 2 |
1 files changed, 1 insertions, 1 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), |