<html xmlns:v="urn:schemas-microsoft-com:vml" xmlns:o="urn:schemas-microsoft-com:office:office" xmlns:w="urn:schemas-microsoft-com:office:word" xmlns:m="http://schemas.microsoft.com/office/2004/12/omml" xmlns="http://www.w3.org/TR/REC-html40">
<head>
<meta http-equiv="Content-Type" content="text/html; charset=us-ascii">
<meta name="Generator" content="Microsoft Word 15 (filtered medium)">
<style><!--
/* Font Definitions */
@font-face
{font-family:"Cambria Math";
panose-1:2 4 5 3 5 4 6 3 2 4;}
@font-face
{font-family:Calibri;
panose-1:2 15 5 2 2 2 4 3 2 4;}
@font-face
{font-family:Constantia;
panose-1:2 3 6 2 5 3 6 3 3 3;}
/* Style Definitions */
p.MsoNormal, li.MsoNormal, div.MsoNormal
{margin:0in;
margin-bottom:.0001pt;
font-size:11.0pt;
font-family:"Calibri",sans-serif;}
a:link, span.MsoHyperlink
{mso-style-priority:99;
color:#0563C1;
text-decoration:underline;}
a:visited, span.MsoHyperlinkFollowed
{mso-style-priority:99;
color:#954F72;
text-decoration:underline;}
span.EmailStyle17
{mso-style-type:personal-compose;
font-family:"Calibri",sans-serif;
color:windowtext;}
.MsoChpDefault
{mso-style-type:export-only;
font-family:"Calibri",sans-serif;}
@page WordSection1
{size:8.5in 11.0in;
margin:1.0in 1.0in 1.0in 1.0in;}
div.WordSection1
{page:WordSection1;}
--></style><!--[if gte mso 9]><xml>
<o:shapedefaults v:ext="edit" spidmax="1026" />
</xml><![endif]--><!--[if gte mso 9]><xml>
<o:shapelayout v:ext="edit">
<o:idmap v:ext="edit" data="1" />
</o:shapelayout></xml><![endif]-->
</head>
<body lang="EN-US" link="#0563C1" vlink="#954F72">
<div class="WordSection1">
<p class="MsoNormal">Hi,<o:p></o:p></p>
<p class="MsoNormal"><o:p> </o:p></p>
<p class="MsoNormal">I have tried my darndest to git RANCID working with a remote git server based on the few web articles and forum threads, but am still missing something. Assistance would be appreciated.<o:p></o:p></p>
<p class="MsoNormal"><o:p> </o:p></p>
<p class="MsoNormal"><u>rancid.conf</u><o:p></o:p></p>
<p class="MsoNormal"><span style="font-size:10.5pt;font-family:"Arial",sans-serif;color:#333333;background:whitesmoke">LIST_OF_GROUPS="all"<o:p></o:p></span></p>
<p class="MsoNormal"><span style="font-size:10.5pt;font-family:"Arial",sans-serif;color:#333333;background:whitesmoke">RCSSYS=git; export RCSSYS</span><span style="font-size:10.5pt;font-family:"Arial",sans-serif;color:#333333"><br>
<span style="background:whitesmoke">CVSROOT=$BASEDIR/repos; export CVSROOT<o:p></o:p></span></span></p>
<p class="MsoNormal"><o:p> </o:p></p>
<p class="MsoNormal">I ran <span style="font-size:10.5pt;font-family:"Arial",sans-serif;color:#333333;background:whitesmoke">
sudo -H -u rancid /mnt/rancid/rancid/bin/rancid-cvs</span> and it seemed happy.<o:p></o:p></p>
<p class="MsoNormal"><o:p> </o:p></p>
<p class="MsoNormal">My “/mnt/rancid/rancid/var” directory is now:<o:p></o:p></p>
<p class="MsoNormal"><o:p> </o:p></p>
<p class="MsoNormal"> all/<o:p></o:p></p>
<p class="MsoNormal"> logs/<o:p></o:p></p>
<p class="MsoNormal"> repos/<o:p></o:p></p>
<p class="MsoNormal"><o:p> </o:p></p>
<p class="MsoNormal">Under “all/” is now:<o:p></o:p></p>
<p class="MsoNormal"><o:p> </o:p></p>
<p class="MsoNormal"> configs/<o:p></o:p></p>
<p class="MsoNormal"> .git/<o:p></o:p></p>
<p class="MsoNormal"> router.db<o:p></o:p></p>
<p class="MsoNormal"> routers.all<o:p></o:p></p>
<p class="MsoNormal"> routers.down<o:p></o:p></p>
<p class="MsoNormal"> routers.up<o:p></o:p></p>
<p class="MsoNormal"><o:p> </o:p></p>
<p class="MsoNormal">Under “repos/” is:<o:p></o:p></p>
<p class="MsoNormal"><o:p> </o:p></p>
<p class="MsoNormal"> all/<o:p></o:p></p>
<p class="MsoNormal"><o:p> </o:p></p>
<p class="MsoNormal">This article (<a href="https://www.cryptomonkeys.com/2016/11/rancid-git/">https://www.cryptomonkeys.com/2016/11/rancid-git/</a>) implies one needs to do a clone of a remote repo. If so, into what local directory? And must I first remote
something rancid-cvs created?<o:p></o:p></p>
<p class="MsoNormal"><o:p> </o:p></p>
<p class="MsoNormal">The forum threads do not mention a clone. They imply creating a remote. But in which of the two git-repo-like directories created by rancid-cvs (var/all/.git or var/repos/all)?<o:p></o:p></p>
<p class="MsoNormal"><o:p> </o:p></p>
<p class="MsoNormal">I am expecting the end result to be a clone of a remote repo (for each group) somewhere under rancid/var, and for rancid-run to operate in that location and after making changes effectively does a “git push” back to my remote git server.<o:p></o:p></p>
<p class="MsoNormal"><o:p> </o:p></p>
<p class="MsoNormal">I just cannot seem to cobble together the correct series of commands from the multiple sources of information.<o:p></o:p></p>
<p class="MsoNormal"><o:p> </o:p></p>
<p class="MsoNormal"><b><span style="font-size:9.0pt;font-family:"Constantia",serif;color:#565A5C">Regards,<o:p></o:p></span></b></p>
<p class="MsoNormal"><b><span style="font-size:9.0pt;font-family:"Constantia",serif;color:#565A5C"><o:p> </o:p></span></b></p>
<p class="MsoNormal"><b><span style="font-size:9.0pt;font-family:"Constantia",serif;color:#565A5C">Ryan Melville</span></b><i><span style="font-size:7.0pt;font-family:"Arial",sans-serif;color:#A6A6A6"><o:p></o:p></span></i></p>
</div>
</body>
</html>