Ah yes you're absolutely right. Thanks Greg! Regards Gonzalo
On Fri, Apr 20, 2012 at 1:23 PM, Greg Swift <[email protected]> wrote: > On Thu, Apr 19, 2012 at 21:15, Gonzalo Servat > <[email protected]> wrote: > > Hi All, > > > > I have 2 cobbler servers in different data centres. The second cobbler > > server is set to replicate all from the first. In the second data centre, > > for every profile I'd like to set a different set of nameservers and > search > > path. If I change the path, when it replicates to the slave, it will > change > > it to whatever the primary is set to. > > > > One solution is to edit my cron so that after a replicate, it sets every > > profile to the nameservers/search paths that I want. Any other solution > come > > to mind? > > So we have 4 data centers. Each data center has a different set of > name servers and search paths. We deal with that by setting the > default_name_servers and default_search_path (or whatever it is) in > /etc/cobbler/settings at each site to the settings for that site and > then making sure that all profiles are empty in those settings, thus > everything gets the site specific details. > > If you want each profile on the slave to have different options but > still inherit the profiles from the master, I've nothing but to say > your cron job is definitely one method. > > Alternatively I guess you could re-write the networking snippet to > support drawing that data from an alternate source instead of the > name_server variables. Then its an active process rather than a cron > job updating things. Although is kinda meh to have to do it that way. > _______________________________________________ > cobbler mailing list > [email protected] > https://fedorahosted.org/mailman/listinfo/cobbler > -- Gonzalo Servat Systems Administrator, SIRCA Ltd Level 9, 80 Clarence St, Sydney NSW 2000 PO Box H58 Australia Square NSW 1215 Tel: +61 2 9236 9161 Fax: +61 2 9231 5988 www.sirca.org.au
_______________________________________________ cobbler mailing list [email protected] https://fedorahosted.org/mailman/listinfo/cobbler
