From 0bf04686873191566f339fcd56e6d4a8ab646c9b Mon Sep 17 00:00:00 2001 From: ben Date: Fri, 31 May 2024 08:56:38 +1000 Subject: [PATCH] remove do --- 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 fd17284..00b5cbc 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 :osfamily == 'Ubuntu' do + if :osfamily == 'Ubuntu' run_shell("apt -y install #{package}") end - if :osfamily == 'RedHat' do + if :osfamily == 'RedHat' run_shell("yum -y install #{package}") end