Displaying 1 result from an estimated 1 matches for "apache1_ip_www".
2011 Feb 03
1
reusing variables "best practices"
...to configure Piranha using Puppet. The module creates a
template using the IP''s defined in my node configuration. In order to use
the IP''s I''ve defined in the nodes config file for the piranha configuration
I''d need to rename the variables to something like:
$apache1_ip_www = 10.0.0.2
$apache1_ip_www2 10.0.0.2
As you can see if change the variable names to reflect the node name then
the Apache vhost template will not be generated correctly.
My question is what is the "best practise" when doing something like this?
I was thinking of creating a new file for...