Newer
Older
# If the datasealer file is not present, run datasealer_update.pl so it
# gets created.
class shibb_idp3::datasealer {
# The datasealer_update.pl script is in the stanford-shibbolethidp3-tool
# package.
package { 'stanford-shibbolethidp3-tools':
ensure => installed,
require => Package['shibboleth-identity-provider'],
}
# We need the datasealer master/slave configuration file.
file { '/etc/shibboleth-idp/dist-datasealer.conf':
source => "puppet:///modules/shibb_idp3/etc/shibboleth-idp/dist-datasealer.conf.${shibb_idp3::env}",
require => Package['stanford-shibbolethidp3-tools'],
}
# Run this command only if the sealer file does NOT exist. This will
# create the datasealer JKS file.