diff --git a/spec/spec_helper_acceptance.rb b/spec/spec_helper_acceptance.rb index 51ab4417f..1a4bea19a 100644 --- a/spec/spec_helper_acceptance.rb +++ b/spec/spec_helper_acceptance.rb @@ -18,11 +18,11 @@ on host, "/bin/echo '' > #{host['hieraconf']}" end on host, "mkdir -p #{host['distmoduledir']}" - if host['platform'] =~ /sles-12/ + if host['platform'] =~ /sles-12/i || host['platform'] =~ /solaris-11/i apply_manifest_on(host, 'package{"git":}') on host, 'git clone -b 4.3.x https://github.com/puppetlabs/puppetlabs-stdlib /etc/puppetlabs/puppet/modules/stdlib' else - on host, puppet('module install puppetlabs-stdlib'), { :acceptable_exit_codes => [0,1] } + on host, puppet('module install puppetlabs-stdlib'), {:acceptable_exit_codes => [0, 1]} end end end