puppet-nginx icon indicating copy to clipboard operation
puppet-nginx copied to clipboard

Create common.erb template for redundant configurations

Open chaosmail opened this issue 10 years ago • 1 comments

Right now it's a bit annoying, that configurations are avialable in nginx::resource::location but not in nginx::resource::vhost and vice-versa. Creating a common(_header|_footer).erb would facilitate the implementation of common configurations.

chaosmail avatar Aug 14 '14 11:08 chaosmail

I agree that it would be great if a lot of the logic and templating could be made more generic. Also, the handling of resources that can be multiple types is currently pretty inefficient.

wyardley avatar Oct 28 '16 05:10 wyardley