Skip to content

Commit

Permalink
correct legacy fact ::osfamily in zookeeper spec
Browse files Browse the repository at this point in the history
  • Loading branch information
zilchms committed Feb 10, 2024
1 parent 18d1a8a commit fdcc0d4
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion spec/acceptance/01_zookeeper_spec.rb
Original file line number Diff line number Diff line change
Expand Up @@ -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',
}
Expand Down

0 comments on commit fdcc0d4

Please sign in to comment.