help-cfengine
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: Keeping up with the distros....


From: Wil Cooley
Subject: Re: Keeping up with the distros....
Date: Wed, 12 Jan 2005 17:31:07 +0000 (UTC)
User-agent: slrn/0.9.8.1 (Linux)

On 2005-01-12, Christian Pearce <address@hidden> wrote:
> On Tue, 2005-01-11 at 10:50, David Douthitt wrote:
>> Is there any way to change misc.c so that new versions of Linux don't
>> require a recompile?  Sounds like a perfect use for something like the
>> "file" and "magic" files.
>> 
>> So a cfengine configuration file would spell out what is to be found in
>> /etc/redhat-release - or whatever it is.
>
> Interesting.  We would have to implement our own version of this though
> right?

The idea I had was to implement this in a module, but I discovered that
modules are processed too late in the game to be generally useful.
However, a portable, specially-used shell script would be adequate for
OS/distro/platform detection, I think.`

Wil
-- 
Wil Cooley                                 address@hidden
Naked Ape Consulting                        http://nakedape.cc
* * * * Linux, UNIX, Networking and Security Solutions * * * *





reply via email to

[Prev in Thread] Current Thread [Next in Thread]