On Sun, Feb 13, 2011 at 11:00 AM, Peter Berghold <[email protected]> wrote: > > > Tried putting single quotes around tthe title as follows: > class { > 'openldap::config' : > prefix => "dc=sharkrivertech,dc=com", > rootpw => 'xxxxxx' > } > > > When puppet is run I get: > > err: Could not retrieve catalog from remote server: Error 400 on SERVER: > Puppet::Parser::AST::Resource failed with error ArgumentError: Invalid > resource type class at /etc/puppet/manifests/nodes/atldhost0.pp:13 on node > atldhost0.atl.sharkrivertech.com > warning: Not using cache on failed catalog > > Line 13 is the closing brace for the "class" statement.
Does the class openldap::config live in the file <modulepath>/openldap/manifests/config.pp OR in <modulepath>/openldap/manifests/init.pp? If not, Puppet will not automatically import the manifest on-demand. The "invalid resource class" is a bit misleading, class is a valid resource, Puppet just isn't finding a class with the name you told it to look for. Hope this helps, -- Jeff McCune http://www.puppetlabs.com/ -- You received this message because you are subscribed to the Google Groups "Puppet Users" group. To post to this group, send email to [email protected]. To unsubscribe from this group, send email to [email protected]. For more options, visit this group at http://groups.google.com/group/puppet-users?hl=en.
