Commit 3d409415 authored by Zachary Kent's avatar Zachary Kent Committed by Austin Blatt

(maint) change install method for puppet agent

Prior to this commit the puppet agent install would fail on some but not all
platforms due to a repo url mismatch. We need to specify the :puppet_collection
in order to get the correct behavior on all platforms.
parent 79cc1cd7
......@@ -23,7 +23,6 @@ end
gem 'facter'
gem 'rake'
gem 'packaging', *location_for(ENV['PACKAGING_VERSION'] || '~> 0.99')
gem 'beaker-puppet', '~> 1.0'
group :test do
# Add test-unit for ruby 2.2+ support (has been removed from stdlib)
......@@ -868,7 +868,7 @@ EOS
def install_puppet_from_package
hosts.each do |host|
install_puppet_on(host, {})
install_puppet_agent_on(host, {:puppet_collection => "puppet5"})
on( host, puppet('resource', 'host', '', 'ensure=present', "ip=") )
install_package(host, 'puppetserver')
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment