Class shib2idp::shib2idp
In: /etc/puppet/modules/shib2idp/manifests/init.pp
Parent:

Class: shib2idp::init

This module installs a Shibboleth 2 Identity Provider (IdP)

Parameters: There are no default parameters for this class.

Actions:

Requires:

Sample Usage:

In order for the shib2idp module to work properly, you must ensure that the agent is configured with:

  • pluginsync=true in /etc/puppet/puppet.conf
  • FACTERLIB=/var/lib/puppet/lib/facter in /etc/default/puppet

To install Shibboleth IdP on a node the following example configuration should be put into the site.pp file on the Puppet Master:

  include shib2idp

  node agenthostname {
    class { 'shib2idp::iptables':
      iptables_enable_network => '192.168.56.0/24',
    }

    shib2idp::instance { '${hostname}-idp':
      configure_admin => true,
      tomcat_admin_password => 'adminpassword',
      tomcat_manager_password => 'managerpassword',
      shibbolethversion => '2.3.3',
      install_uapprove => true,
      idpfqdn => 'idp.example.org',
      keystorepassword => 'puppetpassword',
      mailto => 'support@garr.it',
      install_ldap => true,
      domain_name => 'example.com',
      basedn => 'dc=example,dc=com',
      rootdn => 'cn=admin',
      rootpw => 'ldappassword',
      ldap_host => undef,
      ldap_use_ssl => undef,
      ldap_use_tls => undef,
    }
  }

In each class of this Puppet module more information are provided for the configuration parameters and the module logic.

[Validate]