Class shib2idp::idp::install
In: /etc/puppet/modules/shib2idp/manifests/classes/idp/install.pp
Parent:

Class: shib2idp::idp::install

This class executes the install stage of the installation and configuration of the Shibboleth IdP on the Puppet agent machine.

The install operations are used to execute the setup.sh script inside the Internet2 Shibboleth package downloaded from their repositories.

Parameters:

shibbolethversion:This parameter permits to specify the version of Shibboleth IdP to be downloaded from the Internet2 repositories. By default the 2.3.3 version will be downloaded.
idpfqdn:This parameters must contain the fully qualified domain name of the IdP. This name must be the exact name used by client users to access the machine over the Internet. This FQDN, in fact, will be used to determine the CN of the certificate used for HTTPS. If the name is not identical with the server name specified by the client, the client‘s browser will raise a security exception.
keystorepassword:This parameter permits to specify the keystore password used to protect the keystore file on the IdP server.

Actions:

Requires:

Sample Usage: This class file is not called directly.

Resources

Resources

Exec["apps_chmod_shibboleth"]
   command => "/bin/chown tomcat6:tomcat6 /opt/shibboleth-idp/logs/ /opt/shibboleth-idp/metadata/ /opt/shibboleth-idp/credentials/"
   require => Exec["apps_cpendorsed_shibboleth"]
Exec["apps_cpendorsed_shibboleth"]
   command => /bin/cp -r /usr/local/src/shibboleth-identityprovider/endorsed/ $tomcat::tomcat_home
   require => Exec["apps_rminstaller_shibboleth"]
Exec["apps_install_command"]
   command => /bin/echo '$autoinstall_filecontent' > /usr/local/src/shibboleth-identityprovider/autoinstall.sh
   require => Notify["installing"]
Exec["apps_install_shibboleth"]
   command => "/bin/bash /usr/local/src/shibboleth-identityprovider/autoinstall.sh"
   logoutput => "on_failure"
   require => Exec["apps_install_command"]
Exec["apps_rminstaller_shibboleth"]
   command => "/bin/rm /usr/local/src/shibboleth-identityprovider/autoinstall.sh"
   require => Exec["apps_install_shibboleth"]
Exec["apps_semaphore_shibboleth_installed"]
   cwd => "/usr/local/src"
   command => "/bin/echo installed > /usr/local/src/shibboleth-identityprovider/.puppet"
   require => Exec["apps_chmod_shibboleth"]
Notify["configuring"]
   message => "configuring"
   require => Exec["apps_semaphore_shibboleth_installed"]

[Validate]