help-cfengine
[Top][All Lists]
Advanced

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

RE: Classing servers by network


From: John Thornton
Subject: RE: Classing servers by network
Date: Wed, 13 Dec 2000 13:54:42 -0800

Let's say you want to copy certain files to the dev servers and not the prod
servers.  You could do this..
copy:
        172_31_32::
                file_to_copy dest=where_ever_you_want
server=server_with_masterfile
 

Not quite about question 2.  Maybe something like....

control:
        172_31_32::
                domain = ( dev.somewhere.there )
        172_31_20::
                domain = ( prod.somewhere.there )



John Thornton
Unix Systems Engineer
Fizzylab Corp


-----Original Message-----
From: Greg Gallagher
To: address@hidden
Sent: 12/13/00 1:08 PM
Subject: Classing servers by network

Hi there!  I'm sorry for such a basic question, but I'm working at
implementing cfengine in our environment and have hit a stumbling
block or two.

I want to group machines into classes based on network number.  For
example, we have all our production nodes on a 172.31.32.x network and
certain rules would happen to those.  Another network, 172.31.20.x, is
for development workstations and we would want rules like distributing
the newest libraries to them (but obviously not to production... so I
need to seperate them)

1) How do I class machines using network numbers or somesuch..

2) How could I use the first to assign a "domain = ( ____ )" depending
on the network.  Problem is, I have to have the domain line to make
cfd happy apparently, and I have different domain names for different
networks.

I couldn't find this info anywhere... sorry if it's been asked before!
Thanks!!


-- 
Greg Gallagher
UNIX Systems Administrator
First Options Chicago .... (312) 362-3643

_______________________________________________
Help-cfengine mailing list
address@hidden
http://mail.gnu.org/mailman/listinfo/help-cfengine



reply via email to

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