We're using the puppetlabs-apache module, defining our config with hiera.

At the minute, we've got a config like

apache::vhosts 
>   host1:
>     port: 80
>     servername: host1.com
>     serveradmin: m...@xx.com
>   host2:
>     port: 80
>     servername: host1.com
>     serveradmin: m...@xx.com
>   host3:
>     port: 80
>     servername: host1.com
>     serveradmin: w...@xx.com


and so on.

It would be really helpful if we could define a set of default parameters 
to be used for each vhost (even better if we could have different defaults 
for ssl & non-ssl hosts) so that we could do something like

apache::vhosts 
>   default:
>     serveradmin: m...@xx.com
>   host1:
>     port: 80
>     servername: host1.com
>   host2:
>     port: 80
>     servername: host1.com
>   host3:
>     port: 80
>     servername: host1.com
>     serveradmin: w...@xx.com


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+unsubscr...@googlegroups.com.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/puppet-users/c86f7a90-ecd6-4f3a-8426-bd9551ccf2d9%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.

Reply via email to