[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: Class definitions - is "_" (underscore) an operator?
From: |
Jon-Finngard Moe |
Subject: |
Re: Class definitions - is "_" (underscore) an operator? |
Date: |
Wed, 7 Dec 2005 18:10:39 +0100 |
User-agent: |
Mutt/1.4.2.1i |
Mark Burgess wrote:
> I'm not sure what the problem is. Try upgrading in case there is some
> strange bug in your code?
Thanks again! I found that the other hosts at "customer_location" running
older versions of cfengine was not affected by the problem.
When all other approaches failed i decided try to downgrade to version
2.1.15 and experienced the same problem. Cfengine 2.1.13 however worked
smoothly identifying the hosts only member of the right class. (Only
"customer_location" and not "customer").
> > Thanks. If I understand you correctly you say that the addresses overlap in
> > some
> > way, the both classes will be active for the current range.
> >
> > That is not the case. (As these are different /24-networks they could not
> > overlap).
> >
> > *****************************************
> >
> > To fill in with bogus adress ranges:
> >
> > customer = (
> > IPRange(172.24.200.0/24)
> > )
> >
> > customer_location = (
> > IPRange(172.24.212.0/24)
> > )
> >
> >
> >
> > *******************************************
> >
> > From the file I do the imports:
> >
> > import:
> >
> > mnemonic:: cf.mnemonic # Config file for
> > mnemonic
> > customer:: cf.customer # Config file for
> > customer
> > customer_location:: cf.customer_location # Config file for
> > customer
> > at location
> >
> > .....
> >
> > *******************************************
> >
> >
> >
> > From cfagent output on host 172.24.212.117 (Running FreeBSD 5.4-STABLE and
> > cfengine 2.1.17):
> >
> > Defined Classes = ( ... customer customer_location ... )
> >
> > *********************************************************************^M
> > Main Tree Sched: checktimezone pass 1 @ Wed Nov 30 14:01:16 2005^M
> > *********************************************************************^M
> >
> > ....
> >
> > Looking for an input file cf.sensors
> > Looking for an input file cf.mss
> > Looking for an input file cf.backup
> > Looking for an input file cf.crontab
> > Looking for an input file cf.nagioskeys
> > Looking for an input file cf.rootshell
> > Looking for an input file os/cf.freebsd
> > Looking for an input file cf.customer
> > Looking for an input file cf.customer_location
> >
> > ....
> >
> >
> > *********************
> >
> >
> > Again I find that very strange as this is the only place I define the
> > mentioned
> > classes.
> >
> > I could try to alter the classname "customer_location" to
> > "customerlocation" to
> > see if that fixes the problem.
> >
> >
> > _______________________________________________
> > Help-cfengine mailing list
> > Help-cfengine@gnu.org
> > http://lists.gnu.org/mailman/listinfo/help-cfengine
--
Jon-Finngard Moe Email: finngard@mnemonic.no
mnemonic AS, Wergelandsveien 25 Mob : +47 98 64 58 62
N-0167 Oslo, Norway Tlf : +47 23 20 47 45
Fax : +47 23 20 47 01
PGP key EEAADBBA available from pgp.mit.edu
pgpQZC05yQ819.pgp
Description: PGP signature
[Prev in Thread] |
Current Thread |
[Next in Thread] |
- Re: Class definitions - is "_" (underscore) an operator?,
Jon-Finngard Moe <=