Skip to content

Commit

Permalink
(maint) acceptance tests: always use released pdb module
Browse files Browse the repository at this point in the history
  • Loading branch information
austb committed Jun 10, 2024
1 parent 4be93be commit cfba084
Showing 1 changed file with 1 addition and 9 deletions.
10 changes: 1 addition & 9 deletions acceptance/helper.rb
Original file line number Diff line number Diff line change
Expand Up @@ -441,15 +441,7 @@ 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-puppetdb')
end

def install_puppetdb(host, version=nil)
Expand Down

0 comments on commit cfba084

Please sign in to comment.