Here is an example pull request teaching Facter about the Mariner distro.

https://github.com/puppetlabs/facter/commit/83c51ff227696cfd8e30ed62b6053ede047ca7e4



On May 30, 2023, at 3:47 AM, 羽色云烟 <taleinterve...@gmail.com> wrote:

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?


--
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+unsubscr...@googlegroups.com<mailto:puppet-users+unsubscr...@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<https://groups.google.com/d/msgid/puppet-users/ee665705-542b-4afa-b747-7aee31a6b79fn%40googlegroups.com?utm_medium=email&utm_source=footer>.


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.

-- 
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+unsubscr...@googlegroups.com.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/puppet-users/639DF1F0-1C0A-49AF-A24F-C1FD58A009CE%40perforce.com.

Reply via email to