-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1
Jeffrey Ollie wrote:
| In my environment I need to have finer-grained control of the BIND
| zone statements generated by cobbler, so I cooked up a quick patch
| that lets me do stuff like this:
|
| #for $zone in $forward_zones
| zone "$zone" in {
| type master;
| file "$zone";
| allow-query {
| any;
| };
| allow-transfer {
| localhost;
| X.X.X.X;
| Y.Y.Y.Y;
| };
| };
| #end for
| #for $zone, $arpa in $reverse_zones
| zone "$arpa" in {
| type master;
| file "$zone";
| allow-query {
| any;
| };
| allow-transfer {
| localhost;
| X.X.X.X;
| Y.Y.Y.Y;
| };
| };
| #end for
|
| I've attached a version of the patch against devel, I have versions of
| the patch for both devel and master in my git repo:
|
|
git://fedorapeople.org/home/fedora/jcollie/public_git/cobbler.git
|
| branches "devel-bindzone" and "master-bindzone"
|
|
|
| ------------------------------------------------------------------------
|
| _______________________________________________
| cobbler mailing list
| cobbler(a)lists.fedorahosted.org
|
https://fedorahosted.org/mailman/listinfo/cobbler
This looks great, I'll apply this to devel shortly unless Michael has
any objections (we're getting really close to 1.4).
In addition I'm going to change the default named.template shipped to
look more like your example above. That makes a whole lot more sense
than the way we're doing it now. The $zone_include will stay in so we
don't break backwards-compatibility for folks still using the old templates.
Thanks for the patch!
- --
John Eckersberg
IT Engineering Support
Red Hat, Inc.
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.9 (GNU/Linux)
Comment: Using GnuPG with Fedora -
http://enigmail.mozdev.org
iEYEARECAAYFAklHvdIACgkQdxt4pd4ztYv3LACgpjiVnWAHOFKEz2mqR/taN+9K
HHsAn3WZZqiPR4fJIyy9UH6LvDHr4s3I
=/Pyw
-----END PGP SIGNATURE-----