Skip to content

Commit a00b9e4

Browse files
committed
(maint) install puppet-agent package
install_puppet_on was installing the Debian repo puppet pacakges which have Puppet 5.4.0, not puppet-agent 5.5.x
1 parent f53ef3c commit a00b9e4

File tree

1 file changed

+3
-1
lines changed

1 file changed

+3
-1
lines changed

Diff for: spec/spec_helper_acceptance.rb

+3-1
Original file line numberDiff line numberDiff line change
@@ -83,7 +83,9 @@ def build_url(platform)
8383
end
8484
end
8585

86-
install_puppet_on(hosts) unless ENV['BEAKER_provision'] == 'no'
86+
opts = {puppet_agent_version: 'latest'}
87+
opts[:puppet_collection] = use_puppet5? ? 'puppet5' : 'puppet6'
88+
install_puppet_agent_on(hosts, opts) unless ENV['BEAKER_provision'] == 'no'
8789
install_ca_certs unless ENV['PUPPET_INSTALL_TYPE'] =~ %r{pe}i
8890
install_module_on(hosts)
8991
install_module_dependencies_on(hosts)

0 commit comments

Comments
 (0)