Dan, I've never used the web UI, but when I make changes using the cobbler command, I see changes to JSON files stored under /var/lib/cobbler. For profiles and systems, I've pretty much been able to just track those changes with SVN and be fine. (Diffs would mean more if the json were not all on one line...) Messing with distros and repos, though, also touches /var/www/cobbler. I don't have any better thing going to duplicate what I did with those than .bash_history.
From this experience I can tell you that cobbler gets frustrated fast when some of the profiles refer to distros that don't exist. There is or used to be some Cobbler feature that would automatically check in changes to a version control system when you change stuff in Cobbler, but it appeared more suited to Git than Subversion, and I don't think it's prepared to tell Subversion about my smartcard. > -----Original Message----- > From: [email protected] [mailto:cobbler- > [email protected]] On Behalf Of Dan White > Sent: Wednesday, October 19, 2011 9:59 AM > To: cobbler mailing list > Subject: Re: A How-to Question: Capturing a server configuration in > commandline form > > Yes, provided that I did it from the command line. > Silly me, I used the web interface for some of it and THAT's the part I > am trying to recapture. > > I may have to just try on a scratch machine. > > I appreciate all the responses I am getting on this. > > “Sometimes I think the surest sign that intelligent life exists > elsewhere in the universe is that none of it has tried to contact us.” > Bill Waterson (Calvin & Hobbes) > > ----- Harry Hoffman <[email protected]> wrote: > > Sure, you can get all of that from the "history" command. > > > > On 10/19/2011 10:34 AM, Dan White wrote: > > > All my config files are in Subversion, but I want to capture the > commands to set up the distros, repos, profiles, and systems > > > > > > “Sometimes I think the surest sign that intelligent life exists > elsewhere in the universe is that none of it has tried to contact us.” > > > Bill Waterson (Calvin& Hobbes) > > > > > > ----- Harry Hoffman<[email protected]> wrote: > > >> While maybe not "clonable" when building a brand new cobbler > server I > > >> use root's .bash_history to guide me through what I've done. > > >> > > >> For every config file I edit I always issue the command "cp $file > > >> $file-`date -I`" so I have the original to diff against to know > exactly > > >> what changes were made. > > >> > > >> Once done building the new cobbler server I take the history file, > > >> remove all of the things that are uneccesary (ls; pwd; etc) and > put full > > >> paths on file and commands I've used the write all of this out to > our wiki. > > >> > > >> It works pretty well even when you don't get to document for days > or > > >> weeks after you've finished the build. > > >> > > >> Cheers, > > >> Harry > > >> > > >> On 10/19/2011 09:00 AM, Dan White wrote: > > >>> I agree, replicate is a great way to "clone" the existing server, > but I am tasked to record the steps it took to create the server such > that someone else could do it. > > >>> > > >>> Such info could be used to make a separate server for a different > group for a different project by tweaking parameters. > > >>> > > >>> “Sometimes I think the surest sign that intelligent life exists > elsewhere in the universe is that none of it has tried to contact us.” > > >>> Bill Waterson (Calvin& Hobbes) > > >>> > > >>> ----- James Cammarata<[email protected]> wrote: > > >>>> > > >>>> Cobbler replicate is definitely the way to go, or if you use > some kind > > >>>> of SAN replication like SRDF you can store all of your data on a > > >>>> replicated LUN. > > >>> _______________________________________________ > > >>> cobbler mailing list > > >>> [email protected] > > >>> https://fedorahosted.org/mailman/listinfo/cobbler > > >> _______________________________________________ > > >> cobbler mailing list > > >> [email protected] > > >> https://fedorahosted.org/mailman/listinfo/cobbler > > > > > > _______________________________________________ > > > cobbler mailing list > > > [email protected] > > > https://fedorahosted.org/mailman/listinfo/cobbler > > _______________________________________________ > > cobbler mailing list > > [email protected] > > https://fedorahosted.org/mailman/listinfo/cobbler > > _______________________________________________ > cobbler mailing list > [email protected] > https://fedorahosted.org/mailman/listinfo/cobbler _______________________________________________ cobbler mailing list [email protected] https://fedorahosted.org/mailman/listinfo/cobbler
