Skip to content

Commit

Permalink
Fix Arch Linux support
Browse files Browse the repository at this point in the history
Arch has a custom method to install the puppet agent. This needs to be
called, no matter if we want to install `puppet` or `puppet-agent`. Arch
Linux just has one puppet package in the repository and Puppet Inc. does
not provide custom packages/repos.
  • Loading branch information
bastelfreak committed Dec 21, 2020
1 parent eb3ec97 commit 89cdfc5
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions lib/beaker-puppet/install_utils/foss_utils.rb
Original file line number Diff line number Diff line change
Expand Up @@ -419,6 +419,8 @@ def install_puppet_agent_on(hosts, opts = {})
install_puppet_agent_from_msi_on(host, opts)
when /osx/
install_puppet_agent_from_dmg_on(host, opts)
when /archlinux/
install_puppet_from_pacman_on(host, opts)
else
if opts[:default_action] == 'gem_install'
opts[:version] = opts[:puppet_gem_version]
Expand Down

0 comments on commit 89cdfc5

Please sign in to comment.