On Wed, Jan 25, 2012 at 01:41:09PM -0500, [email protected] wrote:
>Forum: CFEngine Help
>Subject: How does cfengine identify OS/release?
>Author: mikesphar
>Link to topic: https://cfengine.com/forum/read.php?3,24659,24659#msg-24659
>
>I'm running into a weird problem I can't figure out. This is on cfengine
>2.2.10 so I know we're talking ancient history here.
>
>Someone recently built an OpenSuse server in a VM, and for some reason cfagent
>is not picking up the SuSE, suse, suse_11, suse_11_4 classes I normally
>expect. I can't figure out why though, and I've been searching around and
>haven't found any documentation reference as to how cfagent does (or did) the
>OS detection that might point me at what's wrong with the server config.
>Running cfagent in debug mode hasn't provided any insight so far, unless I'm
>missing something.
A lot of it comes from running /usr/bin/lsb_release, specifically:
/usr/bin/lsb_release --codename
/usr/bin/lsb_release --id
/usr/bin/lsb_release --release
On non-linux systems, I'm not sure.
--
Jesse Becker
NHGRI Linux support (Digicon Contractor)
_______________________________________________
Help-cfengine mailing list
[email protected]
https://cfengine.org/mailman/listinfo/help-cfengine