Steps to reproduce
- Install (in a container or on real/virtual hardware) a distribution of Arch linux other than the default distribution available at https://archlinux.org/ or Manjaro from https://manjaro.org/.
- Install Puppet and this module
- Run the following puppet code via a Puppet (
agent or apply, doesn't matter) that can see this module installed on its modulepath: sudo::conf { 'timeout': content => 'Defaults timestamp_timeout=60'; }
Expected behavior
Apply success
Observed behavior
Compilation error: Error: Evaluation Error: Error while evaluating a Function Call, Unsupported platform: Archlinux/CachyOS (file: <modulepath>/sudo/manifests/params.pp, line: 257, column: 11) on node <node>
Versions used to reproduce:
Puppet: 8.10.0 installed via pacman from "extra" upstream (the default).
Puppet-sudo: 9.0.2 installed via Puppetfile/r10k
OS: CachyOS installed via official ISO from https://cachyos.org/, kernel ver. 6.18.8-1-cachyos