Displaying 1 result from an estimated 1 matches for "ip_www".
2011 Feb 03
1
reusing variables "best practices"
...nd a load balancer and each
Apache virtual host has its own internal IP. I''ve created an Apache module
that does this by creating an Apache vhost template and define my own
variables that are substituted by variables I''ve defined in my nodes
configuration. E.g.
apache1 node.pp:
$ip_www = 10.0.0.1
$ip_www2 10.0.0.1
apache2 node.pp:
$ip_www = 10.0.0.1
$ip_www2 10.0.0.1
apache vhost template:
<VirtualHost <%= ip_www %>:80>
The next step is to configure Piranha using Puppet. The module creates a
template using the IP''s defined in my node configuration. In...