help-cfengine
[Top][All Lists]
Advanced

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

RE: Class definitions in 2.0.4


From: MW Mike Weiner (5028)
Subject: RE: Class definitions in 2.0.4
Date: Thu, 15 May 2003 08:02:59 -0400

Is there a neat way to do this without involving NIS????
 
Thanks in advance
Michael Weiner
 
-----Original Message-----
From: Morgan Ives [mailto:morgan.ives@motorola.com] 
Sent: Wednesday, May 14, 2003 4:24 PM
To: MW Mike Weiner (5028)
Subject: Re: Class definitions in 2.0.4
 
Mike, 
   See below a response I gave to a similar question just yesterday.  For
your purposes 
    assume net1 is your normal group and net2 is your special group. 
  
>We do this type of  thing by using NIS netgroups.  Members of each group
are 
>placed in a NIS netgroup.  The NIS netgroup is then referenced in the
groups section 
>of cfengine.conf.   For example,  assuming NIS netgroups net1 and net2. 
>groups: 
>   norms = ( +@net1 ) 
>   specs = ( +@net2 ) 
>copy: 
>    norms:: 
>           ${repos}/auto_master.net1 dest=/etc/auto_master 
>             o=root g=bin m=644 type=sum define=restartautofs 
>   specs:: 
>            ${repos}/auto_master.net2 dest=/etc/auto_master 
>            o=root g=bin m=644 type=sum define=restartautofs 
                    Morgan 
  
  
"MW Mike Weiner (5028)" wrote: 
I am working with a large install base (currently ~450 sgi/linux servers) 
using CFE-2.0.4 in our production environment. I have a rather "newbie" 
question to ask. I have a subset of my total linux farm that I want to 
define as a class (I believe this would be the correct method to do what I 
want) that has a special set of configuration files for its networking, 
sendmail, and other network related configs that are significantly different

than the normal production linux class. How or what is the best way to 
"divy" up or define classes within my configuration in order to have 3/4 of 
the linux farm use 1 set of masterfiles and the other 1/4 of the linux farm 
(my newly defined "special" class of linux servers) use another set of 
masterfiles? 
I am starting off with a very simplistic approach using cfe just to get it 
rolled out into production, and it was easy to define sgi vs. linux. 
However, now I have a subset (host-name based of course) that I want to 
define as its own special class. Roll those new configs out and then start 
to further define the "pieces" of the production environment which comprise 
the "non-standard" configurations. 
Thanks in advance for any and all suggestions 
Michael Weiner 
Senior Systems Administrator, WebOps 
AmericanGreetings.com 
_______________________________________________ 
Help-cfengine mailing list 
Help-cfengine@gnu.org 
http://mail.gnu.org/mailman/listinfo/help-cfengine
<http://mail.gnu.org/mailman/listinfo/help-cfengine> 
-- 
 Morgan Ives / Senior Unix Administrator 
 Engineering Support Services / NCSG Information Technology
 Motorola Semiconductor Products Sector
 512.996.6785 (voice) 512.996.7755 (fax) 888.894.5079 (pager)
 
------------------------------------------------------------------------ 
  Motorola Document Classification 
  [X]  General business information 
  [ ]  Motorola internal use only 
  [ ]  Motorola confidential proprietary 
  ------------------------------------------------------------------------
 

<<application/ms-tnef>>


reply via email to

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