On Thursday, June 21, 2012 7:24:59 AM UTC-7, trey85stang wrote:
>
> Actually,  one more question to spawn off this...  Is there  a way in my 
> nagios/repo class to say if you have this class go ahead and assign 
> yourself to my new services:httpd class?  Can that be done with 
> inheritance?  I have never used inheritance so I am not sure.
>
>
You shouldn't need inheritance -- you can do this with plain old "include 
services::httpd". Unlike when you declare a resource, include can be safely 
used multiple times on a single class, pretty much for this exact reason. 

-- 
You received this message because you are subscribed to the Google Groups 
"Puppet Users" group.
To view this discussion on the web visit 
https://groups.google.com/d/msg/puppet-users/-/uZe07BASzP4J.
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.

Reply via email to