| I have raised PR's to add support for Mariner (otherwise known as CBL-Mariner or Common Base Linux Mariner) to Facter 3.x and 4.x: https://github.com/puppetlabs/facter/pull/2514 https://github.com/puppetlabs/facter/pull/2519 Some background: We currently run puppet on some ~500k hosts which are a mix of RHEL/CentOS. We are looking at rolling out Mariner which is Microsoft's own cloud based distro. You can think of it as Microsoft's version of Amazon Linux or Oracle Linux.
root [ ~ ]# cat /etc/mariner-release |
CBL-Mariner 2.0.20220804 |
MARINER_BUILD_NUMBER=4d0fac3 |
root [ ~ ]#
|
root [ ~ ]# cat /etc/os-release
|
NAME="Common Base Linux Mariner" VERSION="2.0.20220804" ID=mariner VERSION_ID="2.0" PRETTY_NAME="CBL-Mariner/Linux" ANSI_COLOR="1;34" HOME_URL="https://aka.ms/cbl-mariner" BUG_REPORT_URL="https://aka.ms/cbl-mariner" SUPPORT_URL="https://aka.ms/cbl-mariner" root [ ~ ]#
root [ ~ ]# cat /etc/lsb-release DISTRIB_ID="Mariner" DISTRIB_RELEASE="2.0.20220804" DISTRIB_CODENAME=Mariner DISTRIB_DESCRIPTION="CBL-Mariner 2.0.20220804" root [ ~ ]#
root [ ~/facter/release ]# facter os { architecture => "x86_64", family => "Linux", hardware => "x86_64", name => "Linux", release => { full => "5.10.104-linuxkit", major => "5", minor => "10" } , selinux => { enabled => false } } root [ ~/facter/release ]#
root [ ~/facter/release ]# bin/facter os { architecture => "x86_64", family => "RedHat", hardware => "x86_64", name => "Mariner", release => { full => "2.0.20220804", major => "2", minor => "0" }, selinux => { enabled => false } } root [ ~/facter/release ]#
root [ ~ ]# facter os { architecture => "x86_64", family => "Mariner", hardware => "x86_64", name => "Common", release => { full => "2.0", major => "2.0" } , selinux => { enabled => false } } root [ ~ ]#
root [ ~ ]# facter os { architecture => "x86_64", family => "Redhat", hardware => "x86_64", name => "Mariner", release => { full => "2.0.20220824", major => "2", minor => "0" }, selinux => { enabled => false } }
|