As CentOS is dead, we migrating to Rocky, we need suport for it
KpuCko opened this issue · 3 comments
Hello, hello.
First thank you for your effort about writing this nice module. Everything about it simply works, except the fact we need support for modern distributions like Rocky ;-)
I tried to roll out today on Rocky and got this error:
Error: Could not retrieve catalog from remote server: Error 500 on SERVER: Server Error: Evaluation Error: Error while evaluating a Function Call, Unsupported platform: Rocky (file: /etc/puppetlabs/code/environments/production/modules/locales/manifests/params.pp, line: 103, column: 7) on node scout.home.lan
Warning: Not using cache on failed catalog
Error: Could not retrieve catalog; skipping run
So I'm kindly pleasing you to add that support to the selector when you have time.
Thanks in advance.
Feel free to send in a pull request, but looking at the error, it seems you've posted the output of the locales module.
As this module is using data in modules, it should be easy to add support.
Please paste the output of facter -p os
A yeah, you are right. My bad, it complains about locales module.
I got many errors by few modules so I got confused, sorry about that.
Here is the required output:
root@scout.home.lan:~# facter -p os
{
architecture => "x86_64",
distro => {
codename => "GreenObsidian",
description => "Rocky Linux release 8.4 (Green Obsidian)",
id => "Rocky",
release => {
full => "8.4",
major => "8",
minor => "4"
},
specification => ":core-4.1-amd64:core-4.1-noarch"
},
family => "RedHat",
hardware => "x86_64",
name => "Rocky",
release => {
full => "8.4",
major => "8",
minor => "4"
},
selinux => {
enabled => false
}
}
root@scout.home.lan:~#
As no modifications needed, I will close the request.
Thanks for the support.