apache vhost in multiple modules

asked 2015-01-30 06:21:00 -0600

Gintas gravatar image


What is the best practice to configure the same apache vhost in mutliple cmpletely independent modules, e.g. using puppetlabs-apache?

Consider the following: I have a module for service1 and another module for service2. Both modules supplement the same ${fqdn} vhost with some alias and directory settings. All combinations must be possible: {no service installed}, {service1}..., both services present}.

Is there a clean nice way to achieve this?

Cheers, Gin

edit retag flag offensive close merge delete