Skip to content

pacman provider not working on CachyOS #9580

Description

@barryking93

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:

  1. tell puppet to install a package w/ pacman as a provider
  2. 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

Metadata

Metadata

Assignees

No one assigned

    Labels

    bugSomething isn't working

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions