Skip to content

Commit 73318ec

Browse files
authored
Merge pull request #352 from zilchms/fixspec
correct legacy fact ::osfamily in zookeeper spec
2 parents 18d1a8a + fcd76f3 commit 73318ec

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

spec/acceptance/01_zookeeper_spec.rb

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -4,7 +4,7 @@
44

55
describe 'zookeeper prereq' do
66
zookeeper = <<-EOS
7-
if $::osfamily == 'RedHat' {
7+
if $facts['os']['family'] == 'RedHat' {
88
class { 'java' :
99
package => 'java-1.8.0-openjdk-devel',
1010
}

0 commit comments

Comments
 (0)