diff --git a/spec/spec_helper_acceptance_local.rb b/spec/spec_helper_acceptance_local.rb index 00b5cbc..7e91194 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' + if os[:family] == 'Ubuntu' run_shell("apt -y install #{package}") end - if :osfamily == 'RedHat' + if os[:family] == 'RedHat' run_shell("yum -y install #{package}") end