Skip to content

Commit d0fe294

Browse files
committed
Merge pull request redhat-openstack#223 from mhaskel/spec_helper_fix
stdlib installation wasn't working
2 parents bb52d23 + 0718d95 commit d0fe294

1 file changed

Lines changed: 1 addition & 2 deletions

File tree

spec/spec_helper_acceptance.rb

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -22,7 +22,7 @@
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')
25+
on host, puppet('module install puppetlabs-stdlib'), { :acceptable_exit_codes => [0,1] }
2626
end
2727
end
2828
end
@@ -38,7 +38,6 @@
3838
c.before :suite do
3939
hosts.each do |host|
4040
on host, "mkdir -p #{host['distmoduledir']}/ntp"
41-
on host, puppet('module install puppetlabs-stdlib')
4241
%w(lib manifests templates metadata.json).each do |file|
4342
scp_to host, "#{proj_root}/#{file}", "#{host['distmoduledir']}/ntp"
4443
end

0 commit comments

Comments
 (0)