Mercurial > repos > other > Puppet
comparison modules/apache/manifests/mod/dav_svn.pp @ 36:37675581a273 puppet-3.6
Update Puppet module for Apache (pulls in concat module)
author | IBBoard <dev@ibboard.co.uk> |
---|---|
date | Sat, 14 Mar 2015 20:07:04 +0000 |
parents | 956e484adc12 |
children | 675c1cc61eaf |
comparison
equal
deleted
inserted
replaced
35:1bb941522ebf | 36:37675581a273 |
---|---|
1 class apache::mod::dav_svn { | 1 class apache::mod::dav_svn ( |
2 $authz_svn_enabled = false, | |
3 ) { | |
2 Class['::apache::mod::dav'] -> Class['::apache::mod::dav_svn'] | 4 Class['::apache::mod::dav'] -> Class['::apache::mod::dav_svn'] |
3 include ::apache::mod::dav | 5 include ::apache::mod::dav |
4 ::apache::mod { 'dav_svn': } | 6 ::apache::mod { 'dav_svn': } |
7 | |
8 if $::osfamily == 'Debian' and ($::operatingsystemmajrelease != '6' and $::operatingsystemmajrelease != '10.04' and $::operatingsystemrelease != '10.04') { | |
9 $loadfile_name = undef | |
10 } else { | |
11 $loadfile_name = 'dav_svn_authz_svn.load' | |
12 } | |
13 | |
14 if $authz_svn_enabled { | |
15 ::apache::mod { 'authz_svn': | |
16 loadfile_name => $loadfile_name, | |
17 require => Apache::Mod['dav_svn'], | |
18 } | |
19 } | |
5 } | 20 } |