(Using cobbler 2.0.11, downloaded from epel, on RHEL 5.6)

I'm trying for the first time to use "cobbler replicate" on a potential 
slave machine to fetch files from a cobbler master.  It fails quickly 
with various "rsync" errors.

Although the server end permits rsync to be spawned as an xinetd daemon, 
the server has no "/etc/rsyncd.conf".  I've found a file called 
"/etc/cobbler/rsync.template", which looks promising, and when I simply 
copy that into place as"/etc/rsyncd.conf" things looks much healthier.


Two things:


1.  I suggest there is a bug:  shouldn't there be something on the 
master, either during installation or at each "cobbler sync", that 
creates this file?


2.  The template file on the master contains:
#for repo in $repos:
[repo-$repo]
     path    = $webdir/repo_mirror/$repo
     comment = Cobbler Repo $repo
#end for

and a similar-looking "distro" clause.  These look as though they need 
unrolling (as part of the installation or "cobbler sync", as above) into 
the final "/etc/rsyncd.conf".  Is there a command I can run that will 
take the template as input, unpack those loop-looking things, and 
produce the final file as output?



-- 
: David Lee
: ECMWF (Data Handling System)
: Shinfield Park
: Reading  RG2 9AX
: Berkshire
:
: tel:    +44-118-9499 362
: email:  [email protected]
_______________________________________________
cobbler mailing list
[email protected]
https://fedorahosted.org/mailman/listinfo/cobbler

Reply via email to