diff --git a/apache/manifests/init.pp b/apache/manifests/init.pp index 1742213..e400d29 100644 --- a/apache/manifests/init.pp +++ b/apache/manifests/init.pp @@ -493,7 +493,7 @@ class apache::proxy($port="8080", # Install mod_auth_kerb. # -class apache::mod::auth_kerb { +class apache::mod::auth_kerb($servicename=undef) { package { "mod_auth_kerb": ensure => installed, diff --git a/apache/templates/auth_kerb.conf.erb b/apache/templates/auth_kerb.conf.erb index 8f85394..12f61d1 100644 --- a/apache/templates/auth_kerb.conf.erb +++ b/apache/templates/auth_kerb.conf.erb @@ -18,6 +18,9 @@ Krb5KeyTab /etc/httpd/conf/httpsd.keytab KrbMethodNegotiate On KrbAuthoritative On KrbMethodK5Passwd On +<% if @servicename -%> +KrbServiceName <%= @servicename %> +<% end -%> # # SSLRequireSSL