This is an excellent post on how to organize those types of dependencies.

http://www.craigdunn.org/2012/05/239/

On Friday, December 21, 2012 4:10:45 AM UTC-7, Steve Button wrote:
>
> On Thursday, 20 December 2012 16:51:59 UTC, rvs wrote:
>
>> On Thu, Dec 20, 2012 at 8:11 AM, Steve Button <[email protected]> 
>> wrote: 
>> > Hi, 
>> > 
>> > I've written a new resolv class, but I only want it to get pushed out 
>> (for 
>>
>>
>> Please let us know a bit more about your setup. 
>>
>> Thanks, 
>> Roman. 
>>
>
> I've used puppet before at several companies, but it's always been already 
> set up before I arrived and I've only modified the existing manifests. 
>
> Currently I'm at a new site and we're not using Puppet at all, just at the 
> proof of concept stage. 
>
> I'm aware Puppet is very powerful, which also means it could be very 
> dangerous. I'd like to avoid bringing down the whole IT infrastructure (of 
> course) by rolling out a change to resolv.conf, for example, which could 
> potentially cripple a node. When I make a change I'd like to first test it 
> on one single node, then perhaps 10 in Dev, then after a day or so the rest 
> of Dev. Likewise for UAT and Prod environments. So, that's one 
> requirement... to be able to roll things out gradually to give it time to 
> spot mistakes in the code. 
>
> I guess the apache / resolv example is a little contrived, and doesn't 
> represent a real use case. More likely we might want certain packages / 
> kernel setting on our Oracle servers, but different ones on our SAP 
> servers. Looking at the example pointed to...
>
> node 'www1.example.com', 'www2.example.com', 'www3.example.com' { include 
> common include apache, squid }
>
> I guess I could add "include uat" and then put things that are specific to 
> UAT servers only in there. 
>
> Thanks for all the pointers, I think I've got a lot of reading to do and 
> feeling a little overwhelmed!
>

-- 
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/-/QwjnSscd8KYJ.
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