Skip to content
Snippets Groups Projects
Commit d2dd168d authored by Adam Lewenberg's avatar Adam Lewenberg
Browse files

more fixes

parent ebbf79f1
No related branches found
No related tags found
No related merge requests found
......@@ -16,7 +16,7 @@ class shibb_idp3::apache2 {
# Apache front end. By default, apache::cert::comodo puts the key pair
# in /etc/ssl/certs/server.pem and /etc/ssl/private/server.key which is
# exactly where we want them to be.
apache::cert::comodo { "${shibb_idp3::pool_name}":
apache::cert::comodo { "${shibb_idp3::pool_hostname}":
ensure => present,
}
......
......@@ -3,15 +3,23 @@ class shibb_idp3(
)
{
# $pool_name will be the name to refer to the IDP pool and depends on
# $pool_fqdn will be the name to refer to the IDP pool and depends on
# the environment:
# prod: idp.stanford.edu
# uat: idp-uat.stanford.edu
# test: idp-test.stanford.edu
# dev: idp-dev.stanford.edu
#
# $pool_hostname is the just the hostname (e.g., "idp-uat").
case $env {
'prod': { $pool_name = 'idp.stanford.edu' }
default: { $pool_name = "idp-${env}.stanford.edu" }
'prod': {
$pool_fqdn = 'idp.stanford.edu'
$pool_hostname = 'idp'
}
default: {
$pool_fqdn = "idp-${env}.stanford.edu"
$pool_hostname = "idp-${env}"
}
}
include shibb_idp3::apache2
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment