FAQ Search Today's Posts Mark Forums Read
» Video Reviews

» Linux Archive

Linux-archive is a website aiming to archive linux email lists and to make them easily accessible for linux users/developers.


» Sponsor

» Partners

» Sponsor

Go Back   Linux Archive > Redhat > Fedora/Linux Management Tools

 
 
LinkBack Thread Tools
 
Old 05-08-2008, 05:40 PM
Michael DeHaan
 
Default Cobbler replicate patch

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

iEYEARECAAYFAkgjNd8ACgkQcQOfHbe3DKAFRQCg4bXrgNl2FA ni8kFvuAYpp+5T
sTwAnjjlSLY99NnQ4Xr4teFlnqrr8EmA
=Sw/d
-----END PGP SIGNATURE-----

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


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

Thread Tools




All times are GMT. The time now is 12:44 AM.

VBulletin, Copyright ©2000 - 2014, Jelsoft Enterprises Ltd.
Content Relevant URLs by vBSEO ©2007, Crawlability, Inc.
Copyright 2007 - 2008, www.linux-archive.org