help-cfengine
[Top][All Lists]
Advanced

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

hpux and sunos hard class


From: Luke A. Kanies
Subject: hpux and sunos hard class
Date: Fri, 24 Jan 2003 17:10:53 -0600 (CST)

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

-- 
What happens to the hole when the cheese is gone?  -- Bertolt Brecht




reply via email to

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