We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent f3682fa commit 4be7155Copy full SHA for 4be7155
lib/facter/easyrsa.rb
@@ -5,8 +5,8 @@
5
setcode do
6
binaryv2 = ''
7
binaryv3 = ''
8
- operatingsystem = Facter.value(:operatingsystem)
9
- operatingsystemrelease = Facter.value(:operatingsystemrelease)
+ operatingsystem = Facter.value(:os)['name']
+ operatingsystemrelease = Facter.value(:os)['release']['major']
10
11
case operatingsystem
12
when %r{RedHat|CentOS|Amazon}
0 commit comments