From fdcc0d4189e0a9bd699cd2aeb414fe1a04fe41e1 Mon Sep 17 00:00:00 2001 From: markuszilch Date: Sat, 10 Feb 2024 22:45:14 +0100 Subject: [PATCH] correct legacy fact ::osfamily in zookeeper spec --- spec/acceptance/01_zookeeper_spec.rb | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/spec/acceptance/01_zookeeper_spec.rb b/spec/acceptance/01_zookeeper_spec.rb index ae3e3692..f87424ae 100644 --- a/spec/acceptance/01_zookeeper_spec.rb +++ b/spec/acceptance/01_zookeeper_spec.rb @@ -4,7 +4,7 @@ describe 'zookeeper prereq' do zookeeper = <<-EOS - if $::osfamily == 'RedHat' { + if $facts[os][family] == 'RedHat' { class { 'java' : package => 'java-1.8.0-openjdk-devel', }