On Nov 29, 2011, at 5:00 PM, beamin melbin wrote:

> I've read the documentation over at:
> 
> http://docs.puppetlabs.com/guides/language_guide.html
> 
> I cannot figure out how to include a defined resource. I've tired:
> 
> include User::Admin['beamin']

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.

-- 
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