help-cfengine
[Top][All Lists]
Advanced

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

Re: defining large groups by domain name


From: Tod Oace
Subject: Re: defining large groups by domain name
Date: Fri, 12 Mar 2004 09:58:41 -0800

On Mar 10, 2004, at 04:28, rader@ginseng.hep.wisc.edu wrote:

Does anyone know a terse way to define a (large) group of hosts
whose domain names have a numeric extension?

I see a RegCmp function was added in cfengine 2.1.2. I haven't tried using it yet, but I'm happy it's there. Maybe this would work:

groups:
        g3_compute_nodes = ( RegCmp("^g3n[0-9]*$", ${host}) )

steve
- - -
systems & network guy
high energy physics
university of wisconsin

--
Tod Oace, Intel Corporation <tod@intel.com>





reply via email to

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