On Tue, Aug 23, 2011 at 12:25 AM, James Cammarata <jimi(a)sngx.net> wrote:
I've created a new feature branch on my github (named
"mongo") for my
mongo work, and I've added a simple script to do a mass import of the
config.d data files.
commit 9a00941c02be6b451f67914ed1d28dfc468ec314
Author: James Cammarata <jimi(a)sngx.net>
Date: Tue Aug 23 00:22:08 2011 -0500
Adding a script for mass import of data from config.d/* to mongo
It's very basic right now, and not very smart, but if you want to play
with mongo and move your existing data files in it makes life a little
easier. It reads the same config file in /etc/cobbler that the mongodb
serializer uses.
And fixed the script... I broke it trying to change a print line that
said to use an option (--force) that doesn't exist for the script.
Also, please be aware I forked this off my master branch, which
includes patches that may not be in the upstream master yet, so you
should cherry pick if you don't want a full copy of my working master
branch.