Added mod_auth_kerb module to apache.
This commit is contained in:
parent
e75a38070a
commit
0d5d809519
2 changed files with 72 additions and 0 deletions
|
@ -311,6 +311,47 @@ define apache::sslsite($root="none", $config="none",
|
|||
}
|
||||
|
||||
|
||||
# Install mod_auth_kerb.
|
||||
#
|
||||
class apache::mod::auth_kerb {
|
||||
|
||||
package { "mod_auth_kerb":
|
||||
ensure => installed,
|
||||
require => Package["httpd"],
|
||||
}
|
||||
|
||||
file { "/etc/httpd/conf.d/auth_kerb.conf":
|
||||
ensure => present,
|
||||
content => template("apache/auth_kerb.conf.erb"),
|
||||
mode => 0644,
|
||||
owner => root,
|
||||
group => root,
|
||||
require => Package["mod_auth_kerb"],
|
||||
}
|
||||
|
||||
if defined(Service["httpd"]) {
|
||||
file { "/etc/httpd/conf.http.d/auth_kerb.conf":
|
||||
ensure => link,
|
||||
target => "/etc/httpd/conf.d/auth_kerb.conf",
|
||||
require => Package["mod_auth_kerb"],
|
||||
notify => Service["httpd"],
|
||||
subscribe => File["/etc/httpd/conf.d/auth_kerb.conf"],
|
||||
}
|
||||
}
|
||||
|
||||
if defined(Service["httpsd"]) {
|
||||
file { "/etc/httpd/conf.https.d/auth_kerb.conf":
|
||||
ensure => link,
|
||||
target => "/etc/httpd/conf.d/auth_kerb.conf",
|
||||
require => Package["mod_auth_kerb"],
|
||||
notify => Service["httpsd"],
|
||||
subscribe => File["/etc/httpd/conf.d/auth_kerb.conf"],
|
||||
}
|
||||
}
|
||||
|
||||
}
|
||||
|
||||
|
||||
# Install mod_perl.
|
||||
#
|
||||
class apache::mod::perl {
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue