From 9e545e563a6a905ce3ac2dffbf120661944bef94 Mon Sep 17 00:00:00 2001 From: Silvio Rhatto Date: Sat, 13 Apr 2013 13:55:12 -0300 Subject: Correctly check class declarations --- manifests/nodo.pp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'manifests/nodo.pp') 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': } } -- cgit v1.2.3