Re: [Puppet Users] Problem dealing with multi role servers/manifests. resource already declared.

trey85stang
Fri, 22 Jun 2012 14:48:49 -0000

On Thursday, June 21, 2012 5:19:32 PM UTC-5, Nick Fagerlund
wrote:
>
>
>
> 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.
>

Ok,  even better!

Thank you!

--
You received this message because you are subscribed to the Google Groups
"Puppet Users" group.
To view this discussion on the web visit