dev/provisioning/modules/apache/manifests/mod/ldap.pp
changeset 28 b0b56e0f8c7f
equal deleted inserted replaced
27:a2342f26c9de 28:b0b56e0f8c7f
       
     1 class apache::mod::ldap (
       
     2   $apache_version = $::apache::apache_version,
       
     3 ){
       
     4   ::apache::mod { 'ldap': }
       
     5   # Template uses $apache_version
       
     6   file { 'ldap.conf':
       
     7     ensure  => file,
       
     8     path    => "${::apache::mod_dir}/ldap.conf",
       
     9     content => template('apache/mod/ldap.conf.erb'),
       
    10     require => Exec["mkdir ${::apache::mod_dir}"],
       
    11     before  => File[$::apache::mod_dir],
       
    12     notify  => Class['apache::service'],
       
    13   }
       
    14 }