Re: [Puppet Users] puppetlabs-apache module: anyway to define default parameters for every vhost

18 views
Skip to first unread message

Neil

unread,
Jun 26, 2015, 2:49:16 AM6/26/15
to PuppetList

Hello

Wrap your own site::apache module.

As another benefit you give yourself a single point to adapt to changes to puppet labs hapax he

Neil

I'm using the puppetlabs-apache module (currently v1.5.0) and I'm looking for a way to be able to define some default values for every virtual host. For example, it would be good to set ServerAdmin to 'x...@yy.com' as a default, allowing overrides only when necessary.

Can anyone suggest a way to do this?

--
You received this message because you are subscribed to the Google Groups "Puppet Users" group.
To unsubscribe from this group and stop receiving emails from it, send an email to puppet-users...@googlegroups.com.
To view this discussion on the web visit https://groups.google.com/d/msgid/puppet-users/85548efa-fd66-4b6e-acda-5c07329f65b1%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.

Angel L. Mateo

unread,
Jun 29, 2015, 2:29:48 AM6/29/15
to puppet...@googlegroups.com
El 25/06/15 a las 12:47, UK_beginner escribió:
> I'm using the puppetlabs-apache module (currently v1.5.0) and I'm
> looking for a way to be able to define some default values for every
> virtual host. For example, it would be good to set ServerAdmin to
> 'x...@yy.com' as a default, allowing overrides only when necessary.
>
> Can anyone suggest a way to do this?
>
Use hiera and define those values in a common yaml.

--
Angel L. Mateo Martínez
Sección de Telemática
Área de Tecnologías de la Información
y las Comunicaciones Aplicadas (ATICA)
http://www.um.es/atica
Tfo: 868887590
Fax: 868888337
Reply all
Reply to author
Forward
0 new messages