| Hi, the legacy facts operatingsystemrelease/operatingsystemmajrelease are missing on Arch Linux:
[root@foo ~]# /root/.local/share/gem/ruby/3.0.0/bin/facter --show-legacy os |
{ |
architecture => "x86_64", |
distro => { |
codename => "n/a", |
description => "Arch Linux", |
id => "Arch", |
release => { |
full => "rolling", |
major => "rolling", |
minor => null |
}, |
specification => "n/a" |
}, |
family => "Archlinux", |
hardware => "x86_64", |
name => "Archlinux", |
release => { |
full => null, |
major => null |
}, |
selinux => { |
enabled => false |
} |
} |
[root@foo ~]# /root/.local/share/gem/ruby/3.0.0/bin/facter --show-legacy operatingsystem |
Archlinux |
[root@foo ~]# /root/.local/share/gem/ruby/3.0.0/bin/facter --show-legacy operatingsystemrelease |
|
[root@foo ~]# /root/.local/share/gem/ruby/3.0.0/bin/facter --show-legacy operatingsystemmajrelease |
|
[root@foo ~]# /root/.local/share/gem/ruby/3.0.0/bin/facter --version |
4.2.9 |
[root@foo ~]#
|
[root@bastelfreak-nb ~]# facter --show-legacy operatingsystem |
Archlinux |
[root@bastelfreak-nb ~]# facter --show-legacy operatingsystemrelease |
5.16.18-hardened1-1-hardened |
[root@bastelfreak-nb ~]# facter --show-legacy operatingsystemmajrelease |
5 |
[root@bastelfreak-nb ~]# facter --version |
3.14.22 |
[root@bastelfreak-nb ~]#
|
Is that a bug or are those legacy facts not implemented because this is arch linux/this is rolling release? This causes some issues in https://github.com/voxpupuli/puppet-openvpn/pull/432 some more references:
|