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: John Sechrest
Subject: Re: defining large groups by domain name
Date: Thu, 11 Mar 2004 15:06:39 -0800


rader@ginseng.hep.wisc.edu writes:


 % I tried writing a module but debug output makes me think that
 % modules can only define macros--not groups.

 No, I am sure you can define groups with modules. You can 
 set up the output of the module to be:

 +Class1
 -Class2
 =group1=a:b:c:d
 =group2=x:y:z

 I know that this works. 


 % I'd be really nice to be able to say

 %  groups:
 %    g3_compute_nodes = ( HostRange(g3n,1,35) )

Then I would suggest writing the HostRange module and trying it out. 


 % instead of
 % 
 %   g3_compute_nodes =   ( g3n01 g3n02 g3n03 g3n04 g3n05 g3n06
 %     g3n07 g3n08 g3n09 g3n10 g3n11 g3n12 g3n13 g3n14 g3n15 g3n16
 %     g3n17 g3n18 g3n19 g3n20 g3n21 g3n22 g3n23 g3n24 g3n25 g3n26
 %     g3n27 g3n28 g3n29 g3n30 g3n31 g3n32 g3n33 g3n34 g3n35 g3n35 )
 % 
 % yes?
 % 
 % steve
 % - - -
 % systems & network guy
 % high energy physics
 % university of wisconsin
 % 
 % 
 % 
 % _______________________________________________
 % Help-cfengine mailing list
 % Help-cfengine@gnu.org
 % http://mail.gnu.org/mailman/listinfo/help-cfengine

-----
John Sechrest          .         Helping people use
                        .           computers and the Internet
                          .            more effectively
                             .                      
                                 .       Internet: sechrest@peak.org
                                      .   
                                              . http://www.peak.org/~sechrest




reply via email to

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