Cookbooks
apache2
documentation
Resource Apache2 Mod Auth Cas

apache2_mod_auth_cas

Back to resource list

Enables apache2 module mod_auth_cas.

Note: call this resource directly, not through apache2_module! This resource will call _module with the correct identifiers for you.

Actions

  • :create

Properties

NameTypeDefaultDescription
install_methodStringapache_mod_auth_cas_install_methodInstall method for Mod auth CAS
source_revisionStringv1.2Revision for the mod auth cas source install
source_checksumString(see resource default)Checksum for the mod auth cas source install
login_urlStringhttps://login.example.org/cas/loginThe URL to redirect users when not already logged in.
validate_urlStringhttps://login.example.org/cas/serviceValidateThe URL to use when validating a ticket presented by a client
root_groupStringnode['root_group']Group that the root user on the box runs as.
apache_userStringdefault_apache_userSet to override the default apache2 user.
apache_groupStringdefault_apache_groupSet to override the default apache2 user.
mpmStringdefault_mpmUsed to determine which devel package to install
directivesHashnilHash of optional directives to pass to the mod_auth_cas module configuration

Examples

# Default settings
apache2_mod_auth_cas
 
# Setting optional CAS directives
apache2_mod_auth_cas 'default' do
  directives(
    'CASCookiePath' => "#{cache_dir}/mod_auth_cas/"
  )
end