diff options
author | Leif Johansson <leifj@sunet.se> | 2015-09-24 09:17:09 +0200 |
---|---|---|
committer | Leif Johansson <leifj@sunet.se> | 2015-09-24 09:17:09 +0200 |
commit | 44b6314ec9e2e02d21916986b7422002ad4c963d (patch) | |
tree | a09c7927b8f962274b0bb98d2fc77ea951128980 /global/overlay/etc/puppet | |
parent | 695aae2b44d0d6bab7c2803fbed07ba02b2d14d4 (diff) |
install saml-md-toolssunet-ops-2015-09-24-v09
Diffstat (limited to 'global/overlay/etc/puppet')
-rw-r--r-- | global/overlay/etc/puppet/manifests/cosmos-site.pp | 10 |
1 files changed, 10 insertions, 0 deletions
diff --git a/global/overlay/etc/puppet/manifests/cosmos-site.pp b/global/overlay/etc/puppet/manifests/cosmos-site.pp index b1930fe..029d706 100644 --- a/global/overlay/etc/puppet/manifests/cosmos-site.pp +++ b/global/overlay/etc/puppet/manifests/cosmos-site.pp @@ -235,6 +235,16 @@ class swamid_static_signer { user { 'www-data': system => true } -> file { '/opt/published-metadata': ensure => directory, owner => 'www-data', group => 'www-data' } -> package { ['make','libdate-calc-perl', 'libxml2-utils', 'xsltproc', 'opensaml2-tools', 'xmlsec1']: ensure => installed } -> + vcsrepo { '/opt/saml-md-tools': + ensure => present, + provider => git, + source => 'git@git.nordu.net:saml-md-tools.git' + } -> + exec { 'install_saml_md_tools': + command => './configure --prefix=/usr/local && make && make install', + path => '/opt/saml-md-tools', + onlyif => 'test ! -f /usr/local/bin/saml-md-tool' + } -> cron { 'publish-swamid-metadata': command => "/opt/swamid-metadata/scripts/update.sh", user => root, |