From 89cdfc5631c5a027f387a750e88b5b62d7d1ed6b Mon Sep 17 00:00:00 2001 From: Tim Meusel Date: Sat, 19 Dec 2020 19:23:22 +0100 Subject: [PATCH] Fix Arch Linux support 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. --- lib/beaker-puppet/install_utils/foss_utils.rb | 2 ++ 1 file changed, 2 insertions(+) diff --git a/lib/beaker-puppet/install_utils/foss_utils.rb b/lib/beaker-puppet/install_utils/foss_utils.rb index 14380872..9715a0d4 100644 --- a/lib/beaker-puppet/install_utils/foss_utils.rb +++ b/lib/beaker-puppet/install_utils/foss_utils.rb @@ -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]