How does 'os' facter be determined?

39 views
Skip to first unread message

羽色云烟

unread,
May 30, 2023, 10:47:06 AM5/30/23
to Puppet Users
facter os on system OpenEuelr shows:
{
  architecture => "aarch64",
  family => "Openeuler",
  hardware => "aarch64",
  name => "openEuler",
  release => {
    full => "22.03",
    major => "22.03"
  },
  selinux => {
    enabled => false
  }
}
This special family cause many modules fail to work. But in fact it can be managed the same as Redhat. So we hope to make puppet recogniz this system as redhat family, maybe some modification to release file or other tricks to cheat puppet.
So, how does puppet facter determine the os name and family?

Ben Ford

unread,
May 30, 2023, 6:04:04 PM5/30/23
to puppet...@googlegroups.com
Here is an example pull request teaching Facter about the Mariner distro.




--
You received this message because you are subscribed to the Google Groups "Puppet Users" group.
To unsubscribe from this group and stop receiving emails from it, send an email to puppet-users...@googlegroups.com.
To view this discussion on the web visit https://groups.google.com/d/msgid/puppet-users/ee665705-542b-4afa-b747-7aee31a6b79fn%40googlegroups.com.


CAUTION: This email originated from outside of the organization. Do not click on links or open attachments unless you recognize the sender and know the content is safe.



This e-mail may contain information that is privileged or confidential. If you are not the intended recipient, please delete the e-mail and any attachments and notify us immediately.


Reply all
Reply to author
Forward
0 new messages