Skip to content
GitLab
Explore
Sign in
Primary navigation
Search or go to…
Project
S
shibb_idp3
Manage
Activity
Members
Labels
Plan
Issues
Issue boards
Milestones
Wiki
Code
Merge requests
Repository
Branches
Commits
Tags
Repository graph
Compare revisions
Snippets
Build
Pipelines
Jobs
Pipeline schedules
Artifacts
Deploy
Releases
Container Registry
Model registry
Operate
Environments
Monitor
Incidents
Analyze
Value stream analytics
Contributor analytics
CI/CD analytics
Repository analytics
Model experiments
Help
Help
Support
GitLab documentation
Compare GitLab plans
Community forum
Contribute to GitLab
Provide feedback
Keyboard shortcuts
?
Snippets
Groups
Projects
Show more breadcrumbs
puppetpublic
shibb_idp3
Commits
0abd3fef
Commit
0abd3fef
authored
8 years ago
by
Adam Lewenberg
Browse files
Options
Downloads
Patches
Plain Diff
more
parent
59a5fcdb
No related branches found
No related tags found
No related merge requests found
Changes
2
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
manifests/apache2.pp
+14
-0
14 additions, 0 deletions
manifests/apache2.pp
manifests/install.pp
+0
-46
0 additions, 46 deletions
manifests/install.pp
with
14 additions
and
46 deletions
manifests/apache2.pp
+
14
−
0
View file @
0abd3fef
...
...
@@ -55,6 +55,20 @@ class shibb_idp3::apache2(
keyname
=>
"ssl-key/
${apache_pool_fqdn}
"
,
}
# Keytab used for ECP authentication on production systems
case
"
${shibb_idp3::env}
"
{
'prod'
:
{
base::wallet
{
'HTTP/idp-lb.stanford.edu'
:
path
=>
'/etc/http-krb5.keytab'
,
owner
=>
'root'
,
group
=>
'www-data'
,
mode
=>
'0640'
,
ensure
=>
present
;
}
}
}
## Apache Logs
# Rotate Apache logs
...
...
This diff is collapsed.
Click to expand it.
manifests/install.pp
+
0
−
46
View file @
0abd3fef
...
...
@@ -20,50 +20,4 @@ class shibb_idp3::install {
}
# # Install this application's web.xml in /etc/shibboleth-idp. The
# file {
# '/etc/shibboleth-idp':
# ensure => directory;
# '/etc/shibboleth-idp/Catalina/':
# ensure => directory;
# '/etc/shibboleth-idp/Catalina/localhost':
# ensure => directory;
## SECURITY
# Shibboleth IdP signing and encryption key. This should be a
# self-signed certificate of at least 2048-bits with a distant
# expiration. Note that this key-pair is NOT the same as the key-pair
# used by the Apache server.
#
# We make a soft-link to the public and private keys to make it easier
# for Shibboleth to find them.
$cert_name
=
"idp-metadata
${shibb_idp3::host_suffix}
"
apache::cert::comodo
{
$cert_name
:
ensure
=>
present
,
keyname
=>
"ssl-key/idp
${shibb_idp3::host_suffix}
.stanford.edu/metadata"
,
symlink
=>
false
,
}
# Make soft-links to public and private keys. These paths should match those
# used in relying-party.xml
file
{
'/opt/shibboleth-idp/credentials/idp-saml.key'
:
ensure
=>
link
,
target
=>
"/etc/ssl/private/
${cert_name}
.key"
,
require
=>
[
Apache
::
Cert
::
Comodo
[
$cert_name
],
Package
[
'shibboleth-identity-provider'
],
]
}
file
{
'/opt/shibboleth-idp/credentials/idp-saml.pem'
:
ensure
=>
link
,
target
=>
"/etc/ssl/certs/
${cert_name}
.pem"
,
require
=>
[
Apache
::
Cert
::
Comodo
[
$cert_name
],
Package
[
'shibboleth-identity-provider'
],
]
}
}
This diff is collapsed.
Click to expand it.
Preview
0%
Loading
Try again
or
attach a new file
.
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Save comment
Cancel
Please
register
or
sign in
to comment