Hi, I'm trying to use the os.release facter on a VM that is running
CloudLinux dracut.
/etc/os-release looks like this:
NAME="dracut" VERSION="8.7 (Valeri Polyakov)
dracut-049-223.git20230119.el8" ID=dracut
VERSION_ID=049-223.git20230119.el8 PRETTY_NAME="CloudLinux 8.7 (Valeri
Polyakov) dracut-049-223.git20230119.el8 (Initramfs)" ANSI_COLOR="0;31"
The os facter output looks like this:
os => {
architecture => "x86_64",
family => "Dracut",
hardware => "x86_64",
name => "dracut",
release => {
full => "049-223.git20230119.el8",
major => "049-223.git20230119.el8"
},
selinux => {
enabled => false
}
}
I expect the os.release.major value to be 8, not 049-223.git20230119.el8.
Is this a bug?
Thanks for any help here, Melissa
--
You received this message because you are subscribed to the Google Groups
"Puppet Users" group.
To unsubscribe from this group and stop receiving emails from it, send an email
to [email protected].
To view this discussion on the web visit
https://groups.google.com/d/msgid/puppet-users/0bf82a96-117c-4d05-88be-4010a37e51d4n%40googlegroups.com.