From 444f9092d4e8e8a422137057011d786b11165bf2 Mon Sep 17 00:00:00 2001 From: Leif Johansson Date: Thu, 24 Sep 2015 09:25:55 +0200 Subject: path is not cwd --- global/overlay/etc/puppet/manifests/cosmos-site.pp | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) (limited to 'global/overlay/etc/puppet/manifests/cosmos-site.pp') diff --git a/global/overlay/etc/puppet/manifests/cosmos-site.pp b/global/overlay/etc/puppet/manifests/cosmos-site.pp index b466cb8..803a382 100644 --- a/global/overlay/etc/puppet/manifests/cosmos-site.pp +++ b/global/overlay/etc/puppet/manifests/cosmos-site.pp @@ -241,8 +241,7 @@ class swamid_static_signer { source => 'git://git.nordu.net/saml-md-tools.git' } -> exec { 'install_saml_md_tools': - command => '/usr/bin/autoreconf -is && ./configure --prefix=/usr/local && make && make install', - path => '/opt/saml-md-tools', + command => 'cd /opt/saml-md-tools && /usr/bin/autoreconf -is && ./configure --prefix=/usr/local && make && make install', onlyif => '/usr/bin/test ! -f /usr/local/bin/saml-md-tool' } -> cron { 'publish-swamid-metadata': -- cgit v1.1