Revision 24b477a1
Added by Justin Sherrill over 10 years ago
modules/apache/manifests/mod/authnz_ldap.pp | ||
---|---|---|
class apache::mod::authnz_ldap (
|
||
$verifyServerCert = true,
|
||
) {
|
||
include 'apache::mod::ldap'
|
||
apache::mod { 'authnz_ldap': }
|
||
include '::apache::mod::ldap'
|
||
::apache::mod { 'authnz_ldap': }
|
||
|
||
validate_bool($verifyServerCert)
|
||
|
||
... | ... | |
# - $verifyServerCert
|
||
file { 'authnz_ldap.conf':
|
||
ensure => file,
|
||
path => "${apache::mod_dir}/authnz_ldap.conf",
|
||
path => "${::apache::mod_dir}/authnz_ldap.conf",
|
||
content => template('apache/mod/authnz_ldap.conf.erb'),
|
||
require => Exec["mkdir ${apache::mod_dir}"],
|
||
before => File[$apache::mod_dir],
|
||
require => Exec["mkdir ${::apache::mod_dir}"],
|
||
before => File[$::apache::mod_dir],
|
||
notify => Service['httpd'],
|
||
}
|
||
}
|
Also available in: Unified diff
Update puppet modules