Artix Linux Forum

Artix Linux => Applications & Software => Topic started by: pgpleroux on 13 February 2021, 06:51:14

Title: Puppet facter returns wrong os.name
Post by: pgpleroux on 13 February 2021, 06:51:14
facter --version
3.14.16
facter os.name
Linux

On devuan:
facter --version 3.14.14
facter os.name
Devuan

This causes puppet to fail "Packages/Package[vim]: Provider pacman is not functional on this host"
Title: Re: Puppet facter returns wrong os.name
Post by: alium on 13 February 2021, 08:42:00
"Pacman" is supported by puppet. Installing packages works out of the box since puppet 3.1.0. 

see https://wiki.archlinux.org/index.php/Puppet

puppet package is provided by archlinux, not by us. If puppet don't know archlinux as distribution - but it supports pacman as I wrote above  - all the less will support  artixlinux.  Nothing to do here from our side.
Title: Re: Puppet facter returns wrong os.name
Post by: pgpleroux on 13 February 2021, 12:03:49
The problem is that facter return "Linux" for the os name, I would expect that Artix will return something like "Artix".
All other distros I am using return something sensible, expect Artix?

But leave it there - I will check

BTW: Is the  'community' distro supported by Artix?
Title: Re: Puppet facter returns wrong os.name
Post by: alium on 13 February 2021, 15:18:07
again, puppet is archlinux's package, not our. Puppet not support artixlinux, we support not puppet. Puppet support 'pacman' comand, which should works for you.