ghoneycutt / puppet-module-inittab

Puppet module to manage inittab
Other
2 stars 26 forks source link

fixing RH OS detection #69

Closed Phil-Friderici closed 10 years ago

Phil-Friderici commented 10 years ago

fixes issue https://github.com/ghoneycutt/puppet-module-inittab/issues/68: Using operatingsystemmajrelease breaks on RedHat 6.5. Also true when LSB packages are installed:

[root@test ~]# rpm -qa | grep lsb
redhat-lsb-printing-4.0-7.el6.x86_64
redhat-lsb-4.0-7.el6.x86_64
redhat-lsb-core-4.0-7.el6.x86_64
redhat-lsb-compat-4.0-7.el6.x86_64
redhat-lsb-graphics-4.0-7.el6.x86_64

[root@test ~]# facter operatingsystemmajrelease
[root@test ~]# facter operatingsystemrelease
6.5
ghoneycutt commented 10 years ago

@Phil-Friderici Awesome! Thank you