Skip to content

Commit

Permalink
(maint) acceptance tests: pin module versions
Browse files Browse the repository at this point in the history
Pin puppetdb module to 7.14.0, otherwise inifile dependency is too new
for Puppet 6/Ruby 2.5.

Pin postgresql module to 8.4.0, otherwise apt dependency is too new for
Puppet 6/Ruby 2.5
  • Loading branch information
austb committed Jun 10, 2024
1 parent 4be93be commit 18d827a
Showing 1 changed file with 2 additions and 9 deletions.
11 changes: 2 additions & 9 deletions acceptance/helper.rb
Original file line number Diff line number Diff line change
Expand Up @@ -441,15 +441,8 @@ def get_package_version(host, version = nil)
end

def install_puppetdb_module(hosts, puppet_platform)
if test_config[:install_mode] == :upgrade_oldest
# Use custom branch of puppetlabs-postgres for puppet 6 agents with gpg keys updated for last module release that was puppet 6 compatible
on(hosts, 'curl -L https://github.com/puppetlabs/puppetlabs-postgresql/archive/refs/heads/backport-gpg-key.tar.gz --output /tmp/puppetlabs-postgresql')
on(hosts, 'puppet module install /tmp/puppetlabs-postgresql')
on(hosts, 'puppet module install puppetlabs-puppetdb --version 7.13.0')
else
# While we sort out a new puppetlabs-puppetdb module release, point to a branch that allows us to take the latest puppetlabs-postgresql module
on(hosts, 'puppet module install puppetlabs-puppetdb')
end
on(hosts, 'puppet module install puppetlabs-postgresql --version 8.3.0')
on(hosts, 'puppet module install puppetlabs-puppetdb --version 7.14.0')
end

def install_puppetdb(host, version=nil)
Expand Down

0 comments on commit 18d827a

Please sign in to comment.