[rancid] Beed to create sub folders in CVS

Heasley heas at shrubbery.net
Thu Apr 14 16:09:05 UTC 2022


Thu, Apr 14, 2022 at 07:26:09AM +0000, simon ben:
> Dear All,
> I had sent an email earlier on the issue of creating sub folders under the CVS roothere below is my config file .. rancid.con----------------------------
> LIST_OF_GROUPS="Switches Routers DataCentre Firewall BldgA-Switches BldgB-Switches BldgC-Swithces" LIST_OF_GROUPS="Remote-Sites"

That syntax will over-write the previous value.

> ----------------
> Need to create stores , sales , accts as seen in the attached pic
> But not able to create the above 3 folders under remote site
> appreciate you help and advise
> 
> thanks and Regards
> simon

The directory structure does not work in the manner you showed; it is
one path with each group under it.

if you must have that structure, create a copy of your rancid.conf and
change the BASEDIR to /path/to/Remote-Sites, and if necessary change
CVSROOT to the $BASEDIR/CVS with BASEDIR from the original rancid.conf.

and add a second cronjob with rancid-run option -f /path/to/rancid.conf.copy



More information about the Rancid-discuss mailing list