I've added 'cobbler replicate' to replace cobbler_sync_master. The
patch is available here. Over all its pretty simple. You can add
cobbler_master to your settings file and then call 'cobbler
replicate'. It will then pull down all distro configs from the master
and check if the kernel is already in its mirror store. If it is, it
adds it. If not it tells you that its not here yet. It will then
pull down any default profiles attached to a distro.
You can also do 'cobbler replicate --master=cobbler.example.com' to
pull from a different master than the one you have configured.
I'm currently in the wiki adding some initial documentation for this
FYI -- Looks like this code no-ops when "cobbler_master" is set in
settings and no --master is provided. Might want to make that fail.
Applying this so it can get some testing out of git. I think it would
be interesting to have code in there to optionally rsync content where
appropriate (/var/www/cobbler/*mirror, /etc/cobbler,
/var/lib/cobbler/snippets, /var/lib/cobbler/kickstarts) also for people
who don't have other
mirroring set up.
Red Hat Production Operations Release Engineer
WVU Alum BSAE/BSME
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v2.0.9 (GNU/Linux)
Comment: Using GnuPG with Fedora - http://enigmail.mozdev.org