Skip to content

Commit

Permalink
add support for solaris given the ssl cert issue
Browse files Browse the repository at this point in the history
  • Loading branch information
Travis Fields committed Nov 5, 2014
1 parent d0fe294 commit f31b195
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions spec/spec_helper_acceptance.rb
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down

0 comments on commit f31b195

Please sign in to comment.