[rancid] Rancid and Git

Gauthier, Chris cgauthier at comscore.com
Mon Oct 30 16:52:58 UTC 2017


Hi Will,

I had an installation for rancid with Git integration going.  There is now native support for Git, though the documentation is a little sparse when compared to other methods.

You need Git installed locally on the same machine as rancid.  Rancid will create the repos for you.  Make sure the config file knows to be using Git, not subversion or CVS.  Note that the repos are local only, one repo per group.  Also, if you want it to go to a remote repo, just set up the appropriate Git options in the local repo to do blind commits to the remote repo.  It works nicely once set up.

Hope that helps a little.

--Chris


Chris GauthierSenior Network Engineer | comScore, Inc.
o +1 503-331-2704cgauthier at comscore.com
317 SW Alder Street, Suite 700 | Portland | OR97204
............................................................................................................................................................................................................................

From: Rancid-discuss <rancid-discuss-bounces at shrubbery.net> on behalf of Will Lampen <will.lampen at affiniti.com>
Date: Monday, October 30, 2017 at 9:29 AM
To: "rancid-discuss at shrubbery.net" <rancid-discuss at shrubbery.net>
Subject: [rancid] Rancid and Git

I am trying to set up a deployment of several different rancid installs that will back up their local network devices.  Then the Idea is to let Git replace CVS as the version repository.

We then want to upload these separate repository to a Central device that will house all of the separate repositories.

I have looked into


https://www.cryptomonkeys.com/2016/11/rancid-git/
https://github.com/dotwaffle/rancid-git

and others but none have been much help on mating rancid to Git

I am currently working with   https://hub.docker.com/r/jumanjiman/rancid-git/


but Docker is adding additional issue it the mix that I am trying to figure out.

So my question(s)  are

1.       Has anyone done the Rancid GIT install successfully?
2.       Is there easy to follow instruction on how to use GIT instead of CVS for Rancid?

I can Rancid successfully and have it perform flawlessly.   I have also installed Git to the same box and have it replicating its repository to a centralized server housing the private repositories successfully,   What I have not been able to do is marry both rancid and git together successfully.

Thank

-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://www.shrubbery.net/pipermail/rancid-discuss/attachments/20171030/f435e547/attachment.html>


More information about the Rancid-discuss mailing list