Merge pull request #622 from mhaskel/puppet_not_shell
Use puppet() instead of shell() to install module dependencies
This commit is contained in:
commit
2f9820ced8
1 changed files with 1 additions and 1 deletions
|
@ -36,7 +36,7 @@ RSpec.configure do |c|
|
|||
end
|
||||
|
||||
shell("/bin/touch #{default['puppetpath']}/hiera.yaml")
|
||||
shell('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] }
|
||||
on host, puppet('module','install','stahnma/epel'), { :acceptable_exit_codes => [0,1] }
|
||||
end
|
||||
end
|
||||
|
|
Loading…
Reference in a new issue