Skip to main content
Topic solved
This topic has been marked as solved and requires no further attention.
Topic: Puppet facter returns wrong os.name (Read 594 times) previous topic - next topic
0 Members and 1 Guest are viewing this topic.

Puppet facter returns wrong os.name

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"

Re: Puppet facter returns wrong os.name

Reply #1
"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.

Re: Puppet facter returns wrong os.name

Reply #2
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?

 

Re: Puppet facter returns wrong os.name

Reply #3
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.