Jira (FACT-2906) Dependency to lsb packages is missing

7 views
Skip to first unread message

Tim Meusel (Jira)

unread,
Dec 20, 2020, 7:57:04 AM12/20/20
to puppe...@googlegroups.com
Tim Meusel created an issue
 
Facter / Bug FACT-2906
Dependency to lsb packages is missing
Issue Type: Bug Bug
Assignee: Unassigned
Created: 2020/12/20 4:56 AM
Priority: Normal Normal
Reporter: Tim Meusel

Hi,
I installed puppet-agent-7.1.0-1.el7.x86_64 on CentOS 7.

puppet facts show os:

{
  "os": {
    "architecture": "x86_64",
    "family": "RedHat",
    "hardware": "x86_64",
    "name": "CentOS",
    "release": {
      "full": "7.9.2009",
      "major": "7",
      "minor": "9"
    },
    "selinux": {
      "config_mode": "enforcing",
      "config_policy": "targeted",
      "current_mode": "enforcing",
      "enabled": true,
      "enforced": true,
      "policy_version": "31"
    }
  }
}

the lsb facts are missing because the rpm does not require redhat-lsb-core. With the package isntalled:

{
  "os": {
    "architecture": "x86_64",
    "distro": {
      "codename": "Core",
      "description": "CentOS Linux release 7.9.2009 (Core)",
      "id": "CentOS",
      "release": {
        "full": "7.9.2009",
        "major": "7",
        "minor": "9"
      },
      "specification": ":core-4.1-amd64:core-4.1-noarch"
    },
    "family": "RedHat",
    "hardware": "x86_64",
    "name": "CentOS",
    "release": {
      "full": "7.9.2009",
      "major": "7",
      "minor": "9"
    },
    "selinux": {
      "config_mode": "enforcing",
      "config_policy": "targeted",
      "current_mode": "enforcing",
      "enabled": true,
      "enforced": true,
      "policy_version": "31"
    }
  }
}

facter does not print a warning that facts are missing because a dependency isn't installed. many modules depend on those facts. This issue isn't new since facter 4, it's present on facter 3 as well and probably not only on CentOS.

  • Can you please update your packages to depend on the lsb packages on the platforms you support?
  • Is there a documentation for dependencies like this for people that package facter for other platforms? (Like I do for Arch Linux)
Add Comment Add Comment
 
This message was sent by Atlassian Jira (v8.5.2#805002-sha1:a66f935)
Atlassian logo

Kenyon Ralph (Jira)

unread,
Dec 20, 2020, 6:09:04 PM12/20/20
to puppe...@googlegroups.com

Mihai Buzgau (Jira)

unread,
Jan 20, 2021, 5:06:04 AM1/20/21
to puppe...@googlegroups.com
Mihai Buzgau updated an issue
 
Change By: Mihai Buzgau
Team: Night's Watch

Mihai Buzgau (Jira)

unread,
Jan 20, 2021, 5:10:02 AM1/20/21
to puppe...@googlegroups.com
Mihai Buzgau commented on Bug FACT-2906
 
Re: Dependency to lsb packages is missing

Moving this to PA project

Reply all
Reply to author
Forward
0 new messages