I'm trying to detect if a class has been defined as is indicated at
http://docs.puppetlabs.com/references/stable/function.html#defined

However, this check always results in the following error:
err: Could not retrieve catalog from remote server: Error 400 on
SERVER: Could not find class software::mongodb at /etc/puppet/modules/
software/manifests/init.pp:36 on node X.XXXX.com

Line 36 is the "if defined" line which doesn't make any sense as this
line is supposed to trap that exact condition.  Has anyone else run
into this and / or figured out a way around it?  Thanks.

-- 
You received this message because you are subscribed to the Google Groups 
"Puppet Users" group.
To post to this group, send email to puppet-users@googlegroups.com.
To unsubscribe from this group, send email to 
puppet-users+unsubscr...@googlegroups.com.
For more options, visit this group at 
http://groups.google.com/group/puppet-users?hl=en.

Reply via email to