[Puppet Users] Re: question regarding case and facts

2012-02-13 Thread Marc DiBlasi
You can do: case "$factA$factB" { } Or even better, assign them to a new variable: $concatenatedFacts = "$factA$factB" case $concatenatedFacts { } Or if it makes it cleaner for your specific implementation, you may want to check $factA, then have a nested if statement to check $factB. On Feb

[Puppet Users] Re: overriding parts of a collection of defined resources

2012-02-19 Thread Marc DiBlasi
I have a couple pointers that may help you. - The default user and group is root. - You can set type defaults like this: File { user => "root", group => "root"} and if you put this in a class, it only applies to the class. If you put it in site.pp, it applies globally. - You can define multiple re

[Puppet Users] Re: how to link items together -- all happen together?

2011-12-08 Thread Marc DiBlasi
It sounds like he wants to not only assue that foo happens before bar, but that nothing happens between foo and bar. I think the only way to ensure that is to use stages, and have a separate stage for the two items that need to be executed together. On Dec 8, 1:58 pm, Jacob Helwig wrote: > On 201

[Puppet Users] Re: right way to multiuser development

2011-12-23 Thread Marc DiBlasi
We wrote some scripts to use the Rackspace api to create two servers, set up one as a puppet master, then one as a client. It grabs the modules and node config from svn. We then test modules, mess with them, commit to svn when we're done, then destroy the servers. On Dec 23, 2:00 am, Alexey Wasily