From 904fff18073be89bf5e752a48412b44b23d4f752 Mon Sep 17 00:00:00 2001 From: ben Date: Fri, 31 May 2024 11:13:45 +1000 Subject: [PATCH] lowercase strings --- spec/spec_helper_acceptance_local.rb | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/spec/spec_helper_acceptance_local.rb b/spec/spec_helper_acceptance_local.rb index 7e91194..65d5281 100644 --- a/spec/spec_helper_acceptance_local.rb +++ b/spec/spec_helper_acceptance_local.rb @@ -1,10 +1,10 @@ include PuppetLitmus def install_packge(package) - if os[:family] == 'Ubuntu' + if os[:family] == 'ubuntu' run_shell("apt -y install #{package}") end - if os[:family] == 'RedHat' + if os[:family] == 'redhat' run_shell("yum -y install #{package}") end