diff --git a/acceptance/helpers.rb b/acceptance/helpers.rb index c52583be..04de5e9c 100644 --- a/acceptance/helpers.rb +++ b/acceptance/helpers.rb @@ -179,9 +179,9 @@ def new_puppet_testing_environment # @param [String] environment The puppet environment to install the modules to, this must # be a valid environment in the puppet install on the host. def install_puppet_agent_module_on(host, environment) - on(host, puppet('module', 'install', 'puppetlabs-stdlib', '--version', '5.1.0', '--environment', environment), { acceptable_exit_codes: [0] }) - on(host, puppet('module', 'install', 'puppetlabs-inifile', '--version', '2.4.0', '--environment', environment), { acceptable_exit_codes: [0] }) - on(host, puppet('module', 'install', 'puppetlabs-apt', '--version', '7.7.1', '--environment', environment), { acceptable_exit_codes: [0] }) + on(host, puppet('module', 'install', 'puppetlabs-stdlib', '--version', '8.4.0', '--environment', environment), { acceptable_exit_codes: [0] }) + on(host, puppet('module', 'install', 'puppetlabs-inifile', '--version', '5.3.0', '--environment', environment), { acceptable_exit_codes: [0] }) + on(host, puppet('module', 'install', 'puppetlabs-apt', '--version', '9.0.0', '--environment', environment), { acceptable_exit_codes: [0] }) install_dev_puppet_module_on(host, source: File.join(File.dirname(__FILE__), '..'), diff --git a/spec/spec_helper_acceptance.rb b/spec/spec_helper_acceptance.rb index f1d7f115..dd292175 100644 --- a/spec/spec_helper_acceptance.rb +++ b/spec/spec_helper_acceptance.rb @@ -199,7 +199,7 @@ def teardown_puppet_on(host) # the machine after each run. case host['platform'] when %r{debian|ubuntu} - on host, '/opt/puppetlabs/bin/puppet module install puppetlabs-apt --version 7.7.1', { acceptable_exit_codes: [0, 1] } + on host, '/opt/puppetlabs/bin/puppet module install puppetlabs-apt --version 9.0.0', { acceptable_exit_codes: [0, 1] } clean_repo = "include apt\napt::source { 'pc_repo': ensure => absent, notify => Package['puppet-agent'] }" when %r{fedora|el|centos} clean_repo = "yumrepo { 'pc_repo': ensure => absent, notify => Package['puppet-agent'] }"