From 44b6314ec9e2e02d21916986b7422002ad4c963d Mon Sep 17 00:00:00 2001 From: Leif Johansson Date: Thu, 24 Sep 2015 09:17:09 +0200 Subject: install saml-md-tools --- global/overlay/etc/puppet/manifests/cosmos-site.pp | 10 ++++++++++ 1 file changed, 10 insertions(+) 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, -- cgit v1.1