Take the 2-minute tour ×
Server Fault is a question and answer site for professional system and network administrators. It's 100% free, no registration required.

I've read the documentation over but I cannot figure out how to include a defined resource. I've tired:

include User::Admin['beamin']

I get:

err: Could not retrieve catalog from remote server: Error 400 on SERVER: undefined method `downcase' for User::Admin[beamin]{:name=>"beamin"}:Puppet::Resource at /etc/puppet/modules/team/manifests/uni.pp:3 on node u1x2.example.com

How am I suppose to do this?

share|improve this question
add comment

1 Answer

up vote 3 down vote accepted

An answer from a Puppet Users Google group member:

Defined resources aren't included. They are declared, just like other resources. You might do this:

notify { "woo!": }

And if you define a resource called "foo", then you can also do this:

foo { "woo!": }

Reading through the serverless puppet guide (also at docs.puppetlabs.com) might be a better introduction than the language guide.

share|improve this answer
add comment

Your Answer

 
discard

By posting your answer, you agree to the privacy policy and terms of service.

Not the answer you're looking for? Browse other questions tagged or ask your own question.