Skip to content

Commit

Permalink
FreeBSD has the Puppet major version in the package name
Browse files Browse the repository at this point in the history
  • Loading branch information
evgeni committed Jan 6, 2024
1 parent 6aeadcc commit 8a0c2a4
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion lib/beaker_puppet_helpers/install_utils.rb
Original file line number Diff line number Diff line change
Expand Up @@ -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'
Expand Down

0 comments on commit 8a0c2a4

Please sign in to comment.