Giter Site home page Giter Site logo

puppet-shibboleth's Introduction

puppet-shibboleth

===================

A puppet module for managing Shibboleth Service Providers (SP). It will be expanded to include Identity Providers (IDp).

To install into puppet

Clone into your puppet configuration in your puppet/modules directory:

git clone git://github.com/nesi/puppet-shibboleth.git git

Or if you're managing your Puppet configuration with git, in your puppet directory:

	git submodule add git://github.com/nesi/puppet-shibboleth.git modules/git --init --recursive
	cd modules/shibboleth
	git checkout master
	git pull
	cd ../..
	git commit -m "added shibboleth submodule from https://github.com/nesi/puppet-shibboleth"

It might seem bit excessive, but it will make sure the submodule isn't headless...

Requirements

Requires a httpd service to be installed, with a SSL module (e.g. Apache2 with mod_ssl)

Usage

NOTE: the URLs provided in the usage guide are examples only, check with your IDp or Federation administrator for the correct details.

For a Service Provider (SP) using a single Identity Provider (IDp)

To install and configure a SP to use a single IDp, add the following to a node definition :

	class{'shibboleth::service':
			metadata_cert_URL		=> 'http://idp.example.org/metadata/idp-metadata-cert.pem',
			httpd					=> 'apache2',
			idp_URL         		=> 'https://idp.example.org/',
			contact_email         	=> '[email protected]',
	}

For a Service Provider (SP) using a Federation Directory Service

To install and configure a SP to use a Directory service provided by a Shibboleth Federation, add the following to a node definition :

	class{'shibboleth::service':
			metadata_cert_URL		=> 'http://directory.federation.org/metadata/federation-metadata-cert.pem',
			metadata_provider_URL 	=> 'https://directory.federation.org/metadata/federation-metadata-signed.xml',
			httpd					=> 'apache2',
			discovery_URL         	=> 'https://directory.federation.org/ds/DS',
			contact_email         	=> '[email protected]',
			attribute_map_URL     	=> 'https://federation.org/download/attribute-map.xml',
	}

Parameters

  • metadata_cert_URL Required. A URL to download the metadata signing certificate from.
  • metadata_provider_URL The source of the Federation metadata.
  • httpd Required. The name of the httpd service to be restarted.
  • sp_domainname The name of the Service Provider, defaults to $fqdn
  • handler_ssl Enables the SSL handler, defaults to false.
  • discovery_URL URL to the Federation discovery service
  • idp_URL URL to a single IDp
  • contact_email A contact email address, shown when things go wrong
  • attribute_map_URL A map of the attributes provided by the IDp or the Federation
  • support_ECP Supports system logins using the ECP protocols.

The parameters discovery_URL and idp_URL are exclusive, both can not be set at the same time. The module should throw an error. One of them is required.

Credits

=========

Written by Aaron Hicks ([email protected]) for the New Zealand eScience Infrastructure.

Creative Commons Licence
This work is licensed under a Creative Commons Attribution-ShareAlike 3.0 Unported License

puppet-shibboleth's People

Contributors

aethylred avatar mondkaefer avatar neon-ninja avatar

Stargazers

 avatar  avatar

Watchers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar

Forkers

thebeansgroup

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.