From 07e25e929adbcc7a35914f241c2231bf826ea69f Mon Sep 17 00:00:00 2001 From: Leif Johansson Date: Thu, 24 Sep 2015 09:28:46 +0200 Subject: set cwd --- global/overlay/etc/puppet/manifests/cosmos-site.pp | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) (limited to 'global/overlay') diff --git a/global/overlay/etc/puppet/manifests/cosmos-site.pp b/global/overlay/etc/puppet/manifests/cosmos-site.pp index 205485a..ccf1bd9 100644 --- a/global/overlay/etc/puppet/manifests/cosmos-site.pp +++ b/global/overlay/etc/puppet/manifests/cosmos-site.pp @@ -241,7 +241,8 @@ class swamid_static_signer { source => 'git://git.nordu.net/saml-md-tools.git' } -> exec { 'install_saml_md_tools': - command => 'cd /opt/saml-md-tools && /usr/bin/autoreconf -is && ./configure --prefix=/usr/local && make && make install', + command => '/usr/bin/autoreconf -is && ./configure --prefix=/usr/local && make && make install', + cwd => '/opt/saml-md-tools', path => '/bin:/usr/bin:/usr/sbin', onlyif => '/usr/bin/test ! -f /usr/local/bin/saml-md-tool' } -> -- cgit v1.1