We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent b608826 commit fc17282Copy full SHA for fc17282
spec/support/acceptance/puppetserver.rb
@@ -1,11 +1,12 @@
1
def unsupported_puppetserver
2
- case host_inventory['facter']['os']['name']
+ os = host_inventory['facter']['os']
3
+ case os['family']
4
when 'Archlinux'
5
true
- when 'Fedora'
6
- true
7
when 'Debian'
8
- host_inventory['facter']['os']['release']['major'] == '12'
+ os['name'] == 'Debian' && os['release']['major'] == '12'
+ when 'RedHat'
9
+ os['name'] == 'Fedora'
10
end
11
12
0 commit comments