Skip to content

Commit 4c9c7e9

Browse files
committed
acceptance test helpers: update puppetlabs-apt to v9.4.0
1 parent 1390c91 commit 4c9c7e9

File tree

2 files changed

+2
-2
lines changed

2 files changed

+2
-2
lines changed

acceptance/helpers.rb

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -179,7 +179,7 @@ def new_puppet_testing_environment
179179
def install_puppet_agent_module_on(host, environment)
180180
on(host, puppet('module', 'install', 'puppetlabs-stdlib', '--version', '8.4.0', '--environment', environment), { acceptable_exit_codes: [0] })
181181
on(host, puppet('module', 'install', 'puppetlabs-inifile', '--version', '5.3.0', '--environment', environment), { acceptable_exit_codes: [0] })
182-
on(host, puppet('module', 'install', 'puppetlabs-apt', '--version', '9.0.0', '--environment', environment), { acceptable_exit_codes: [0] })
182+
on(host, puppet('module', 'install', 'puppetlabs-apt', '--version', '9.4.0', '--environment', environment), { acceptable_exit_codes: [0] })
183183

184184
install_dev_puppet_module_on(host,
185185
source: File.join(File.dirname(__FILE__), '..'),

spec/spec_helper_acceptance.rb

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -116,7 +116,7 @@ def teardown_puppet_on(host)
116116
# the machine after each run.
117117
case host['platform']
118118
when %r{debian|ubuntu}
119-
on host, '/opt/puppetlabs/bin/puppet module install puppetlabs-apt --version 9.0.0', { acceptable_exit_codes: [0, 1] }
119+
on host, '/opt/puppetlabs/bin/puppet module install puppetlabs-apt --version 9.4.0', { acceptable_exit_codes: [0, 1] }
120120
clean_repo = "include apt\napt::source { 'pc_repo': ensure => absent, notify => Package['puppet-agent'] }"
121121
when %r{fedora|el|centos}
122122
clean_repo = "yumrepo { 'pc_repo': ensure => absent, notify => Package['puppet-agent'] }"

0 commit comments

Comments
 (0)