[Infrastructures] managing dhcpd.conf

Matt S Trout infrastructures@trout.me.uk
Thu, 16 Jun 2005 20:39:01 +0100


On Thu, Jun 16, 2005 at 11:28:01AM -0700, David Masten wrote:
> Just wondering if anyone has done or knows of software that changes
> dhcpd.conf files in a programmatic fashion. 
> 
> dhcpd configs are the last thing I'm manually maintaining, and it is
> getting in the way of other things I've automated. 
> 
> More specifically, I manage a lab environment with thousands of hosts
> and hundreds of users. As a lab environment, installing OS's is the task
> that I and my peers do most of. I've got the whole install process down
> to a few clicks and some text entries in some web pages, except for
> manually inserting 'host foo { hardware ...' in the dhcpd.conf. 

You could try using my http://dev.catalyst.perl.org/trac/bast to build
a solution; see

http://dev.catalyst.perl.org/docs/BAST/Manual.html

and the worked example for a squid net-accel config to get you started;
we'll be happy to help out via irc.shadowcatsystems.co.uk#bast or the
bast-discuss@lists.sf.net list.

-- 
     Matt S Trout           Website: http://www.shadowcatsystems.co.uk
  Technical Director        E-mail:  mst (at) shadowcatsystems.co.uk
Shadowcat Systems Ltd.