help-cfengine
[Top][All Lists]
Advanced

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

Re: hpux and sunos hard class


From: Mark . Burgess
Subject: Re: hpux and sunos hard class
Date: Sat, 25 Jan 2003 00:24:21 +0100 (MET)

hpux has been through tumultuous revisions over the last 10 years,
and it was necessary to distinguish. It is now time to remove the
distinction I think. But you will have to tell me how to do that.
I no longer have hpux.

Make sure that you have the latest sources, and tell me if this
is not already fixed. I remember thinking about this recently.
hpux10 should now be deleted, but the remaining rule must detect
the others correctly...

Play with the info in src/classes.c until it works.

M

On 24 Jan, Luke A. Kanies wrote:
> I'm trying to set up cfengine on a network of solaris/sparc, hp-ux 11.0 on
> PA-RISC1.1, hp-ux 11.0 on PA-RISC2.0, and hp-ux 11i on PA-RISC2.0.  I'm
> also using my home network for testing, and I have solaris x86 there.
> 
> So, I'm putting platform-specific variables into files which I import in
> cfagent.conf.  For some reason, cfengine doesn't consider solarisx86 to be
> solaris, which I find very strange.  So, I just define 'sunos' if the host
> is either solaris or solarisx86, but I find this to be a hack.
> 
> But HP-UX is even worse.  For some reason, all of the boxes I've tested
> this on (11.0 and 11i) set 'hpux10', but not hpux.  I can't figure out
> why, but I figured "eh, I'll just set it manually so that it all works
> out".  Nope, cfengine considers that a hard class, so it won't let me set
> it.
> 
> So, I'm either stuck with coming up with a different common way of
> describing hp-ux systems without using 'hpux' (and I obviously can't have
> the '-'), or I'm stuck with 'hpux10' as my identifier, which just doesn't
> make any sense to me.
> 
> Has anyone else run into this problem?  If so, how are you dealing with
> it?
> 
> Thanks,
> Luke
> 



~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
Work: +47 22453272            Email:  Mark.Burgess@iu.hio.no
Fax : +47 22453205            WWW  :  http://www.iu.hio.no/~mark
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~






reply via email to

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