Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Arch Linux: Add facter 4.2 factset #244

Merged
merged 1 commit into from
Apr 20, 2022
Merged

Conversation

bastelfreak
Copy link
Member

No description provided.

@bastelfreak bastelfreak merged commit 3548b7d into voxpupuli:master Apr 20, 2022
@bastelfreak bastelfreak deleted the arch2 branch April 20, 2022 14:30
@ekohl
Copy link
Member

ekohl commented Apr 21, 2022

It looks like this broke rspec-puppet-facts which assumes an OS release fact:
https://github.com/voxpupuli/rspec-puppet-facts/blob/0df5a5d82b48f7bc87016e46b247b69a6f5c3302/lib/rspec-puppet-facts.rb#L159-L163

I'm not sure how to deal with that.

@jkroepke
Copy link

@bastelfreak
Copy link
Member Author

[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
  }
}

I've the feeling the legacy facts are missing on purpose. I will raise an upstream ticket.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

4 participants