On Saturday 07 Apr 2012 10:43:52 Nick wrote:
> On 06/04/12 16:37, James Cammarata wrote:
> >> What would I need to do to manually replicate what `cobbler import`
> >> does?
...
> > But, for the record, import is basically a wrapper around the following
> > steps:
> > 
> > cobbler distro add
> > cobbler profile add
> > cobbler repo add
...
> I have a script (attached) which I think supplies the missing details, but
> note my case is somewhat different from yours, so it does more than you
> need, and you'll need to modify the rsync invocation to work within your
> restrictions.

Cool, that's very useful, thanks.

> The script's purpose is to reconstruct a cobbler installation given a git
> snapshot of the cobbler config in /etc/cobbler and /var/lib/cobbler/*.

Interesting, that was also on my to do list :)

So, I see your script fetches the distribution files, but also creates the 
distro record, only, isn't it later replaced when it re-links the files in 
/var/lib/cobbler to your puppet files?

> Hope this helps,

Indeed it does, cheers!


-- 
Michael Gliwinski
Henderson Group Information Services
9-11 Hightown Avenue, Newtownabby, BT36 4RT
Phone: 028 9034 3319

**********************************************************************************************
The information in this email is confidential and may be legally privileged.  
It is intended solely for the addressee and access to the email by anyone else 
is unauthorised.
If you are not the intended recipient, any disclosure, copying, distribution or 
any action taken or omitted to be taken in reliance on it, is prohibited and 
may be unlawful.
When addressed to our clients, any opinions or advice contained in this e-mail 
are subject to the terms and conditions expressed  in the governing client 
engagement leter or contract.
If you have received this email in error please notify 
[email protected]

John Henderson (Holdings) Ltd
Registered office: 9 Hightown Avenue, Mallusk, County Antrim, Northern Ireland, 
BT36 4RT.
Registered in Northern Ireland
Registration Number NI010588
Vat No.: 814 6399 12
*********************************************************************************

_______________________________________________
cobbler mailing list
[email protected]
https://fedorahosted.org/mailman/listinfo/cobbler

Reply via email to