[CentOS-devel] Stream naming

Peter Meier

peter.meier at immerda.ch
Wed Mar 3 21:33:28 UTC 2021


On 3/3/21 9:45 PM, Matthew Miller wrote:
> On Wed, Mar 03, 2021 at 09:42:39PM +0100, Peter Meier wrote:
>>> Many thanks… this came up as we’re working on getting Puppet facter
>>> detecting stream correctly
>>> (https://github.com/puppetlabs/facter/pull/2291
>>> <https://github.com/puppetlabs/facter/pull/2291>)
>>
>> Wow, this will break a lot of puppet modules out there....
>> E.g. https://github.com/puppetlabs/facter/pull/2291#issuecomment-790039719
> 
> Oooooh, does it _really_ read NAME ("suitable for presentation to the user")
> and not ID ("suitable for processing by scripts")?

Well on minimized installations (read without lsb) up to recently, there
was no ID facts - https://github.com/puppetlabs/facter/pull/2280

So folks sticked to what was available:

# facter os
{
  architecture => "x86_64",
  family => "RedHat",
  hardware => "x86_64",
  name => "CentOS",
  release => {
    full => "8",
    major => "8"
  },
  selinux => {
    config_mode => "enforcing",
    config_policy => "targeted",
    current_mode => "enforcing",
    enabled => true,
    enforced => true,
    policy_version => "33"
  }
}

~pete



More information about the CentOS-devel mailing list