comparison modules/apache/manifests/mod/proxy.pp @ 0:956e484adc12

Initial public release of Puppet configs
author IBBoard <dev@ibboard.co.uk>
date Sat, 16 Aug 2014 19:47:38 +0000
parents
children 37675581a273
comparison
equal deleted inserted replaced
-1:000000000000 0:956e484adc12
1 class apache::mod::proxy (
2 $proxy_requests = 'Off',
3 $allow_from = undef,
4 ) {
5 ::apache::mod { 'proxy': }
6 # Template uses $proxy_requests
7 file { 'proxy.conf':
8 ensure => file,
9 path => "${::apache::mod_dir}/proxy.conf",
10 content => template('apache/mod/proxy.conf.erb'),
11 require => Exec["mkdir ${::apache::mod_dir}"],
12 before => File[$::apache::mod_dir],
13 notify => Service['httpd'],
14 }
15 }