[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: [No match of class]?
From: |
Mark . Burgess |
Subject: |
Re: [No match of class]? |
Date: |
Wed, 25 Feb 2004 19:58:24 +0100 (MET) |
Aha - your hostname contains a "-" which cfengine automaticlly converts
into a "_" since it is an illegal character in identifiers. Try doing
a cfagent -p -v to see all the classes defined on your machine. If you
write
groups:
smarthost = ( tsthvy1_smarthost )
I guess it iwll work.
M
On 25 Feb, Lev Lvovsky wrote:
> getting somewhat frustrated with a cfservd that for all intents an
> purposes should work - ANY help would be appreciated on this issue:
>
> below is a highly simplified cfservd.conf:
>
> ------------
> control:
>
> domain = ( domain.com )
> LogAllConnections = ( true )
> AllowUsers = ( root )
> TrustKeysFrom = ( 10.176.110.0/24 )
>
>
> groups:
>
> smarthost = ( tsthvy1-smarthost )
>
> admit:
>
> smarthost::
> /file *.domain.com
> ------------
>
> when running cfservd with debug, I get the following, which seems bad:
>
> ------------
> Resetting CLASS to ANY
>
> LVALUE smarthost
> HandleLVALUE(smarthost) in action Groups:
> EQUALS =
> LEFTBRACK
> RVAL-VAROBJ tsthvy1-smarthost
>
> HandleGroupRvalue(tsthvy1-smarthost)
> HandleGroupRVal(tsthvy1-smarthost) group (smarthost), type=0
> [No match of class]
>
> RIGHTBRACK
>
> (No actions pending in Groups:)
> InitializeAction()
> (No actions pending in Groups:)
> -------------
>
> can anyone explain what might be wrong with this setup?
>
> thank you in advance,
> -lev
>
>
>
> _______________________________________________
> Help-cfengine mailing list
> Help-cfengine@gnu.org
> http://mail.gnu.org/mailman/listinfo/help-cfengine
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
Work: +47 22453272 Email: Mark.Burgess@iu.hio.no
Fax : +47 22453205 WWW : http://www.iu.hio.no/~mark
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~