Linux Archive

Linux Archive (http://www.linux-archive.org/)
-   Fedora/Linux Management Tools (http://www.linux-archive.org/fedora-linux-management-tools/)
-   -   templatize Cobbler's system entries in dhcpd.conf (http://www.linux-archive.org/fedora-linux-management-tools/106862-templatize-cobblers-system-entries-dhcpd-conf.html)

"Al Tobey" 06-14-2008 08:08 PM

templatize Cobbler's system entries in dhcpd.conf
 
Michael,

The attached patch moves DHCP system entries from manage_isc.py to
/etc/cobbler/dhcp.template. I have it passing down a lot more data
than is probably necessary, but then again, when imaging comes around,
the profile/distro data may end up being more useful than it is right
now. I've only been able to lightly test this, but it should get
things pretty close.

-Al Tobey
_______________________________________________
et-mgmt-tools mailing list
et-mgmt-tools@redhat.com
https://www.redhat.com/mailman/listinfo/et-mgmt-tools

Michael DeHaan 06-16-2008 02:24 PM

templatize Cobbler's system entries in dhcpd.conf
 
Al Tobey wrote:

Michael,

The attached patch moves DHCP system entries from manage_isc.py to
/etc/cobbler/dhcp.template. I have it passing down a lot more data
than is probably necessary, but then again, when imaging comes around,
the profile/distro data may end up being more useful than it is right
now. I've only been able to lightly test this, but it should get
things pretty close.

-Al Tobey



Sharp!

I like the way how this streamlines things out.

I'm going to go ahead and apply this to the devel branch,
comments/testing from others are welcome (especially
as I'm mostly going to be gone for Summit/FudCON this week).

One potential warning note is that people who do upgrade to this version
will have to pay attention to their /etc/cobbler/dhcp.template.rpmnew
otherwise things will stop working for them. I think that's reasonable
given the flexibility this allows.


One of the other things I want to do in the future is to make the yum
config files fully dynamic and Cheetah powered, so we'll be able
to drive even more from templates (so we'll be even more customizable
there as well).


Thanks!

--Michael


_______________________________________________
et-mgmt-tools mailing list
et-mgmt-tools@redhat.com
https://www.redhat.com/mailman/listinfo/et-mgmt-tools


All times are GMT. The time now is 08:45 AM.

VBulletin, Copyright ©2000 - 2014, Jelsoft Enterprises Ltd.
Content Relevant URLs by vBSEO ©2007, Crawlability, Inc.