Scott Henson wrote:
-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1
I've added 'cobbler replicate' to replace cobbler_sync_master. The
patch is available here[1]. 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
feature.
[1] http://shenson.fedorapeople.org/0001-cobbler-replicate-feature.patch
Very cool.
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.
Thanks!
- --
Scott Henson
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
iEYEARECAAYFAkgjNd8ACgkQcQOfHbe3DKAFRQCg4bXrgNl2FAni8kFvuAYpp+5T
sTwAnjjlSLY99NnQ4Xr4teFlnqrr8EmA
=Sw/d
-----END PGP SIGNATURE-----
_______________________________________________
et-mgmt-tools mailing list
et-mgmt-tools@xxxxxxxxxx
https://www.redhat.com/mailman/listinfo/et-mgmt-tools
_______________________________________________
et-mgmt-tools mailing list
et-mgmt-tools@xxxxxxxxxx
https://www.redhat.com/mailman/listinfo/et-mgmt-tools