You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
It seems like the provider's functionality is tied to the check on ['os']['name'] instead of ['os']['family'], as mentioned in the issue. Have you tried checking the output of facter os to confirm the values returned for both ['os']['name'] and ['os']['family'] on your CachyOS system? This might provide insight into whether the provider logic needs adjustment to accommodate distributions that are Arch-based but not recognized as Archlinux specifically.
It seems that the pacman provider might not be recognizing CachyOS correctly due to how it checks the OS in its initialization. Have you looked at the initialize method in the pacman provider code? You might want to add some debug logging there to see what values are being processed for ['os']['name'] and ['os']['family'] when the provider loads. This could help identify if the verification logic needs adjustment to support CachyOS as it relates to the expected behavior.
The Provider pacman is not functional on this host error in 8.1.0 comes from the pacman provider's confine block matching against the operatingsystem fact instead of osfamily which CachyOS reports as Archlinux.
The confine block for the pacman provider likely restricts execution to operatingsystem => Archlinux, so changing the constraint to osfamily => Archlinux within the provider definition should resolve the registration failure on CachyOS.
The current confine block in the pacman provider uses Facter.value(:operatingsystem) == 'Archlinux', which is too restrictive for downstream distributions. To fix this, we should modify the confine statement to check Facter.value(:osfamily) == 'Arch' instead, as this will correctly encompass both base Arch and CachyOS. Can you confirm if your local Facter output for osfamily returns Arch when running facter osfamily on your CachyOS environment?
The provider's confine block should be updated to use feature?(:posix) alongside osfamily == 'Archlinux' to ensure it triggers correctly on downstream distributions like CachyOS. Have you verified if modifying the confine block in the provider source to replace the operatingsystem check with osfamily resolves the initialization error during the catalog application?
Activity
adding cachyos support - puppetlabs#9580
NuWhE3wn0D commentedon Jul 19, 2026
It seems like the provider's functionality is tied to the check on ['os']['name'] instead of ['os']['family'], as mentioned in the issue. Have you tried checking the output of
facter osto confirm the values returned for both ['os']['name'] and ['os']['family'] on your CachyOS system? This might provide insight into whether the provider logic needs adjustment to accommodate distributions that are Arch-based but not recognized as Archlinux specifically.rorieaniston26 commentedon Aug 18, 2026
It seems that the
pacmanprovider might not be recognizing CachyOS correctly due to how it checks the OS in its initialization. Have you looked at theinitializemethod in thepacmanprovider code? You might want to add some debug logging there to see what values are being processed for['os']['name']and['os']['family']when the provider loads. This could help identify if the verification logic needs adjustment to support CachyOS as it relates to the expected behavior.jadayaanaliah26 commentedon Aug 29, 2026
The
Provider pacman is not functional on this hosterror in 8.1.0 comes from the pacman provider's confine block matching against the operatingsystem fact instead of osfamily which CachyOS reports as Archlinux.gustavocastillo5 commentedon Sep 4, 2026
OS as part of the
Archlinuxfamily, the fix actually needs to happen in Facter's OSnaeemgwendlyn26 commentedon Sep 4, 2026
The
confineblock for thepacmanprovider likely restricts execution tooperatingsystem => Archlinux, so changing the constraint toosfamily => Archlinuxwithin the provider definition should resolve the registration failure on CachyOS.roberalani26 commentedon Sep 11, 2026
The current confine block in the pacman provider uses
Facter.value(:operatingsystem) == 'Archlinux', which is too restrictive for downstream distributions. To fix this, we should modify theconfinestatement to checkFacter.value(:osfamily) == 'Arch'instead, as this will correctly encompass both base Arch and CachyOS. Can you confirm if your local Facter output forosfamilyreturnsArchwhen runningfacter osfamilyon your CachyOS environment?beefyi6 commentedon Oct 25, 2026
workaround/PR change in
lib/puppet/provider/package/pacman.rb.*
gweneverebraydan26 commentedon Oct 31, 2026
The provider's
confineblock should be updated to usefeature?(:posix)alongsideosfamily == 'Archlinux'to ensure it triggers correctly on downstream distributions like CachyOS. Have you verified if modifying theconfineblock in the provider source to replace theoperatingsystemcheck withosfamilyresolves the initialization error during the catalog application?