help-cfengine
[Top][All Lists]
Advanced

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

Re: clarification on use of groups


From: Mark . Burgess
Subject: Re: clarification on use of groups
Date: Tue, 24 Feb 2004 22:39:13 +0100 (MET)

Hi - you cannot specify groups in the admit section, but you
can use groups to define classes that can be used to predicate
an admit rule e.g.

groups:

  mygroup = ( +nisgroup )

admit:

 mygoup::

   /file   *.domain

Alertantively you could make a list:

control:

 list = ( a.b.c.d:A.B.C.D:m.n.x.y )

admit:

   file  $(list)

The domain variable is used in cases where fully qualified names
are not specified.

M

PS - there is no dest= in admit.



On 24 Feb, Lev Lvovsky wrote:
> Hello - I'm new to the list, and a newb to Cfengine, so go easy ;)
> 
> In setting up file copies in cfservd.conf, is there any way to 
> incorporate groups?  The only way that I've been successful with 
> copying files, is to specify something like:
> 
> admit:
>    <some file> dest=<some dest> server.domain.com
> 
> I realize that I can use wildcards for the server name, but it would 
> seem that the use of groups would be much easier to work with - 
> allowing only groups of servers to get the files specified.  I might be 
> missing some basic concepts here.
> 
> Also, I'm curious about the "domain" setting in the control section of 
> the cfservd, how does cfservd use this variable?  I still need to 
> specify a FQDN in the admit section.  Again,  I might be missing 
> something here.
> 
> thanks for any advice!
> -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
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~





reply via email to

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