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