From 8a0c2a47cf322ccedfc463ad379d0521f0d3deda Mon Sep 17 00:00:00 2001 From: Evgeni Golov Date: Sat, 6 Jan 2024 21:58:44 +0100 Subject: [PATCH] FreeBSD has the Puppet major version in the package name --- lib/beaker_puppet_helpers/install_utils.rb | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/lib/beaker_puppet_helpers/install_utils.rb b/lib/beaker_puppet_helpers/install_utils.rb index 1d8b709..7a5f376 100644 --- a/lib/beaker_puppet_helpers/install_utils.rb +++ b/lib/beaker_puppet_helpers/install_utils.rb @@ -84,7 +84,7 @@ def self.puppet_package_name(host, prefer_aio: true) when /el|fedora|sles|cisco_/ prefer_aio ? 'puppet-agent' : 'puppet' when /freebsd/ - 'sysutils/puppet' + 'sysutils/puppet7' when 'ubuntu' # 23.04 started to ship puppet-agent with puppet as a legacy package prefer_aio || host['packaging_platform'].split('-', 3)[1].to_i >= 2304 ? 'puppet-agent' : 'puppet'