X-Git-Url: https://git.donarmstrong.com/?p=dsa-puppet.git;a=blobdiff_plain;f=3rdparty%2Fmodules%2Fapache%2Fmanifests%2Fmod%2Fauth_cas.pp;fp=3rdparty%2Fmodules%2Fapache%2Fmanifests%2Fmod%2Fauth_cas.pp;h=0000000000000000000000000000000000000000;hp=5b13af66a2fff0683b01a300656448fe0045287c;hb=3d4dc4fd9e59bd0e07646c99f6b356c7d9d859aa;hpb=29c25a2dd54b818d590063af535221f98af7d6c8 diff --git a/3rdparty/modules/apache/manifests/mod/auth_cas.pp b/3rdparty/modules/apache/manifests/mod/auth_cas.pp deleted file mode 100644 index 5b13af66..00000000 --- a/3rdparty/modules/apache/manifests/mod/auth_cas.pp +++ /dev/null @@ -1,48 +0,0 @@ -class apache::mod::auth_cas ( - $cas_login_url, - $cas_validate_url, - $cas_cookie_path = $::apache::params::cas_cookie_path, - $cas_version = 2, - $cas_debug = 'Off', - $cas_validate_depth = undef, - $cas_certificate_path = undef, - $cas_proxy_validate_url = undef, - $cas_root_proxied_as = undef, - $cas_cookie_entropy = undef, - $cas_timeout = undef, - $cas_idle_timeout = undef, - $cas_cache_clean_interval = undef, - $cas_cookie_domain = undef, - $cas_cookie_http_only = undef, - $cas_authoritative = undef, - $suppress_warning = false, -) { - - validate_string($cas_login_url, $cas_validate_url, $cas_cookie_path) - - if $::osfamily == 'RedHat' and ! $suppress_warning { - warning('RedHat distributions do not have Apache mod_auth_cas in their default package repositories.') - } - - ::apache::mod { 'auth_cas': } - - file { $cas_cookie_path: - ensure => directory, - before => File['auth_cas.conf'], - mode => '0750', - owner => $apache::user, - group => $apache::group, - } - - # Template uses - # - All variables beginning with cas_ - file { 'auth_cas.conf': - ensure => file, - path => "${::apache::mod_dir}/auth_cas.conf", - content => template('apache/mod/auth_cas.conf.erb'), - require => [ Exec["mkdir ${::apache::mod_dir}"], ], - before => File[$::apache::mod_dir], - notify => Class['Apache::Service'], - } - -}