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

Class: shib2idp::idp::install

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

The unpack operations are used to download the Internet2 Shibboleth implementation from their repository and to unpack it in /usr/local/src folder.

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.
install_uapprove:This parameter permits to specify if uApprove has to be installed on this IdP
rootpw:This parameters must contain the password of the user with access to the MySQL server.

Actions:

Requires:

Sample Usage: This class file is not called directly.

Resources

Resources

Exec["apps_chmod_dir_shibboleth"]
   cwd => "/usr/local/src"
   command => /usr/bin/find /usr/local/src/shibboleth-identityprovider-$shibbolethversion -type d -exec /bin/chmod 755 {} \\;
   require => Exec["apps_rm_shibboleth"]
Exec["apps_chmod_file_shibboleth"]
   cwd => "/usr/local/src"
   command => /usr/bin/find /usr/local/src/shibboleth-identityprovider-$shibbolethversion -type f -exec /bin/chmod 644 {} \\;
   require => Exec["apps_rm_shibboleth"]
Exec["apps_rm_shibboleth"]
   cwd => "/usr/local/src"
   command => /bin/rm -f /tmp/$filename
   require => Exec["apps_unzip_shibboleth"]
Exec["apps_unzip_shibboleth"]
   cwd => "/usr/local/src"
   command => /usr/bin/unzip /tmp/$filename
   require => [Package["unzip"], Exec["apps_wget_shibboleth"]]
Exec["apps_wget_shibboleth"]
   command => /usr/bin/wget $shibbolethurl -O /tmp/$filename
   require => [Package["wget"]]
File["/opt/shibboleth-idp/"]
   ensure => directory
   require => File["/usr/local/src/shibboleth-identityprovider"]
File["/opt/shibboleth-idp/conf/"]
   ensure => directory
   require => File["/opt/shibboleth-idp/"]
File["/usr/local/src/shibboleth-identityprovider"]
   ensure => link
   target => /usr/local/src/shibboleth-identityprovider-$shibbolethversion
   require => [Exec["apps_chmod_dir_shibboleth"], Exec["apps_chmod_file_shibboleth"]]
Notify["installing"]
   message => "installing"
   require => Exec["apps_semaphore_shibboleth_unpacked"]

[Validate]