Skip to content

Commit

Permalink
Use puppet() so the module install works better
Browse files Browse the repository at this point in the history
This was failing on SLES10 due to path issues.
  • Loading branch information
Morgan Haskel committed Oct 14, 2014
1 parent 00f6b5d commit 302f5ae
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion spec/spec_helper_acceptance.rb
Original file line number Diff line number Diff line change
Expand Up @@ -39,7 +39,7 @@ def ip6tables_flush_all_tables
hosts.each do |host|
copy_module_to(host, :source => proj_root, :module_name => 'firewall')
on(host, "/bin/touch #{host['hieraconf']}")
on(host, 'puppet module install puppetlabs-stdlib --version 3.2.0', { :acceptable_exit_codes => [0,1] })
on host, puppet('module install puppetlabs-stdlib --version 3.2.0'), { :acceptable_exit_codes => [0,1] }
end
end
end

0 comments on commit 302f5ae

Please sign in to comment.