X-Git-Url: https://git.adam-barratt.org.uk/?a=blobdiff_plain;f=3rdparty%2Fmodules%2Fconcat%2Fspec%2Fspec_helper_acceptance.rb;h=da994f8dfbdf4df9cb250561e1339f3cad171694;hb=a29c0d1b4d2420aeb3ef6acf66feb00709dd2652;hp=d27df7dac3b708ece7c7d190a9ddb53ec2568583;hpb=23d29143ac40015ce61cf83a4067466f8f7d66dc;p=mirror%2Fdsa-puppet.git diff --git a/3rdparty/modules/concat/spec/spec_helper_acceptance.rb b/3rdparty/modules/concat/spec/spec_helper_acceptance.rb index d27df7dac..da994f8df 100644 --- a/3rdparty/modules/concat/spec/spec_helper_acceptance.rb +++ b/3rdparty/modules/concat/spec/spec_helper_acceptance.rb @@ -16,14 +16,14 @@ unless ENV['RS_PROVISION'] == 'no' or ENV['BEAKER_provision'] == 'no' hosts.each do |host| on hosts, "mkdir -p #{host['distmoduledir']}" if host['platform'] =~ /sles-1/i || host['platform'] =~ /solaris-1/i - get_deps = <<-EOS + get_stdlib = <<-EOS package{'wget':} - exec{'download-stdlib': + exec{'download': command => "wget -P /root/ https://forgeapi.puppetlabs.com/v3/files/puppetlabs-stdlib-4.5.1.tar.gz --no-check-certificate", path => ['/opt/csw/bin/','/usr/bin/'] } EOS - apply_manifest_on(host, get_deps) + apply_manifest_on(host, get_stdlib) # have to use force otherwise it checks ssl cert even though it is a local file on host, puppet('module install /root/puppetlabs-stdlib-4.5.1.tar.gz --force --ignore-dependencies'), {:acceptable_exit_codes => [0, 1]} elsif host['platform'] =~ /windows/i