Skip to content

Commit

Permalink
Use puppet('module install puppetlabs-stdlib')
Browse files Browse the repository at this point in the history
We need to be able to pass a block to this since the stdlib install
fails sometime on PE (which is ok, since it's included)
  • Loading branch information
Morgan Haskel committed Sep 16, 2014
1 parent 4216dbc commit 0881cc2
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 @@ -14,7 +14,7 @@
on host, "/bin/echo '' > #{host['hieraconf']}"
end
on host, "mkdir -p #{host['distmoduledir']}"
puppet_module_install_on(host, :module_name => 'puppetlabs-stdlib')
on host, puppet('module install puppetlabs-stdlib'), { :acceptable_exit_codes => [0,1] }
end
end

Expand Down

0 comments on commit 0881cc2

Please sign in to comment.