From 51871ef26293e3a6ee9d467a19d65baf48742056 Mon Sep 17 00:00:00 2001
From: Ciaran McCrisken <ciaran.mccrisken@puppet.com>
Date: Wed, 8 Jul 2020 13:39:17 +0100
Subject: [PATCH] (maint) Ensure wget install succeeds on RHEL OSs

---
 moduleroot/.travis.yml.erb | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/moduleroot/.travis.yml.erb b/moduleroot/.travis.yml.erb
index be7248e..32f8e7c 100644
--- a/moduleroot/.travis.yml.erb
+++ b/moduleroot/.travis.yml.erb
@@ -124,7 +124,7 @@ jobs:
       before_script:
       - "bundle exec rake 'litmus:provision_list[<%=platform%>]'"
 <%  if @configs['litmus']['install_wget']-%>
-      - "bundle exec bolt command run 'apt-get install wget -y' --inventoryfile inventory.yaml --targets='localhost*'"
+      - "bundle exec bolt command run 'apt-get install wget -y || yum install wget -y' --inventoryfile inventory.yaml --targets='localhost*'"
 <%  end-%>
       - "bundle exec rake 'litmus:install_agent[<%=puppet_version%>]'"
       - "bundle exec rake litmus:install_module"
-- 
GitLab