diff options
Diffstat (limited to 'global/overlay/etc/puppet/manifests/cosmos-site.pp')
-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, |