You'll want to look at http://docs.puppetlabs.com/guides/templating.html
You can use a template and have it fill in variables. Luckily, the
host's IP address is already available as a variable via facter.
>
> How do I manage one httpd.conf file from the Puppet server given the
> VirtualHost IP's will be different on each server? I guess I just want
> to "taylor" the http.conf file for each weberserver but manage it from
> the Puppet Server.
>
> If anyone can give me a few pointers it would be appreciated.
>
> Thanks,
>
> --
> You received this message because you are subscribed to the Google Groups "Puppet Users" group.
> To post to this group, send email to puppet...@googlegroups.com.
> To unsubscribe from this group, send email to puppet-users...@googlegroups.com.
> For more options, visit this group at http://groups.google.com/group/puppet-users?hl=en.
>
Hi,
I'd like to start using Puppet to manage an httpd.conf file across
several webservers.
each httpd.conf
file has multiple Virtual Host entries that are defined by the
webservers IP. <VirtualHost 10.3.200.131:80> for example.