pacman provider not working on CachyOS
Author: barryking93Created Apr 15, 2026Updated Sep 17, 2026
Labelsbug
Describe the Bug
pacman doesn't function as a provider on cachyos, which is based on archlinux
Expected Behavior
pacman should work on cachyos, since it's the default package manager there and is in the $PATH
Steps to Reproduce
Steps to reproduce the behavior:
- tell puppet to install a package w/ pacman as a provider
- recieve error:
Error: /Package[packagenamehere]: Provider pacman is not functional on this host
Environment
- Version - 8.1.0
- Platform - CachyOS current
Additional Context
I think your easiest bet here is to base the provider of 'pacman' on using ['os]['family'] of 'Archlinux' instead of basing it on ['os']['name'], which is what the related docs say you're doing here: https://help.puppet.com/core/current/Content/PuppetCore/Markdown/package.htm#package-provider-pacman
Source: puppetlabs/puppet