Skip to content

Commit f31b195

Browse files
author
Travis Fields
committed
add support for solaris given the ssl cert issue
1 parent d0fe294 commit f31b195

1 file changed

Lines changed: 2 additions & 2 deletions

File tree

spec/spec_helper_acceptance.rb

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -18,11 +18,11 @@
1818
on host, "/bin/echo '' > #{host['hieraconf']}"
1919
end
2020
on host, "mkdir -p #{host['distmoduledir']}"
21-
if host['platform'] =~ /sles-12/
21+
if host['platform'] =~ /sles-12/i || host['platform'] =~ /solaris-11/i
2222
apply_manifest_on(host, 'package{"git":}')
2323
on host, 'git clone -b 4.3.x https://github.com/puppetlabs/puppetlabs-stdlib /etc/puppetlabs/puppet/modules/stdlib'
2424
else
25-
on host, puppet('module install puppetlabs-stdlib'), { :acceptable_exit_codes => [0,1] }
25+
on host, puppet('module install puppetlabs-stdlib'), {:acceptable_exit_codes => [0, 1]}
2626
end
2727
end
2828
end

0 commit comments

Comments
 (0)