[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
RE: Classing servers by network
From: |
Andrews, Martin |
Subject: |
RE: Classing servers by network |
Date: |
Wed, 13 Dec 2000 16:22:31 -0500 |
cfengine will automatically assign a class for your network - in this case
"172_31_32" or "172_31_20". So you should be able to do the following
control:
172_31_32::
domain = ( "servers.mydomain.com" )
172_31_20::
domain = ( "dev.mydomain.com" )
> -----Original Message-----
> From: Greg Gallagher [mailto:ggallag@foc.com]
> Sent: Wednesday, December 13, 2000 4:09 PM
> To: help-cfengine@gnu.org
> 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.