[rancid] RANCID 3.8 and Git - sync to remote repo instead of or in addition to local repo?
Ni Ne <[email protected]> Wed, 21 Aug 2019 21:10:04 +0000
| Newsgroups | gmane.network.rancid |
|---|---|
| Message-ID | <CY4PR19MB0934D37221C543D00C5220E9B5AA0@CY4PR19MB0934.namprd19.prod.outlook.com> |
--===============8977548767943192830==
Content-Language: en-US
Content-Type: multipart/alternative;
boundary="_000_CY4PR19MB0934D37221C543D00C5220E9B5AA0CY4PR19MB0934namp_"
--_000_CY4PR19MB0934D37221C543D00C5220E9B5AA0CY4PR19MB0934namp_
Content-Type: text/plain; charset="iso-8859-1"
Content-Transfer-Encoding: quoted-printable
Running rancid 3.8 and I would like to (re-)publish the rancid config files=
(for devices themselves) to a gitlab server we have internally.
I am still learning about Git and not very familiar with rancid's interacti=
on with it.
Is it feasible to have rancid update both repo's simultaneously? The local =
one on the server, and a remote repo?
It appears Git itself supports such a thing:
https://stackoverflow.com/questions/849308/pull-push-from-multiple-remote-l=
ocations
I imagine I would need to update all rancid groups .git files accordingly, =
at a minimum.
Thanks,
--_000_CY4PR19MB0934D37221C543D00C5220E9B5AA0CY4PR19MB0934namp_
Content-Type: text/html; charset="iso-8859-1"
Content-Transfer-Encoding: quoted-printable
<html>
<head>
<meta http-equiv=3D"Content-Type" content=3D"text/html; charset=3Diso-8859-=
1">
<style type=3D"text/css" style=3D"display:none;"> P {margin-top:0;margin-bo=
ttom:0;} </style>
</head>
<body dir=3D"ltr">
<div style=3D"font-family: Calibri, Helvetica, sans-serif; font-size: 12pt;=
color: rgb(0, 0, 0);">
Running rancid 3.8 and I would like to (re-)publish the rancid config files=
(for devices themselves) to a gitlab server we have internally.</div>
<div style=3D"font-family: Calibri, Helvetica, sans-serif; font-size: 12pt;=
color: rgb(0, 0, 0);">
<br>
</div>
<div style=3D"font-family: Calibri, Helvetica, sans-serif; font-size: 12pt;=
color: rgb(0, 0, 0);">
I am still learning about Git and not very familiar with rancid's interacti=
on with it.</div>
<div style=3D"font-family: Calibri, Helvetica, sans-serif; font-size: 12pt;=
color: rgb(0, 0, 0);">
<br>
</div>
<div style=3D"font-family: Calibri, Helvetica, sans-serif; font-size: 12pt;=
color: rgb(0, 0, 0);">
Is it feasible to have rancid update both repo's simultaneously? The local =
one on the server, and a remote repo?</div>
<div style=3D"font-family: Calibri, Helvetica, sans-serif; font-size: 12pt;=
color: rgb(0, 0, 0);">
<br>
</div>
<div style=3D"font-family: Calibri, Helvetica, sans-serif; font-size: 12pt;=
color: rgb(0, 0, 0);">
It appears Git itself supports such a thing:</div>
<div style=3D"font-family: Calibri, Helvetica, sans-serif; font-size: 12pt;=
color: rgb(0, 0, 0);">
<br>
</div>
<div style=3D"font-family: Calibri, Helvetica, sans-serif; font-size: 12pt;=
color: rgb(0, 0, 0);">
<a href=3D"https://stackoverflow.com/questions/849308/pull-push-from-multip=
le-remote-locations">https://stackoverflow.com/questions/849308/pull-push-f=
rom-multiple-remote-locations</a><br>
</div>
<div style=3D"font-family: Calibri, Helvetica, sans-serif; font-size: 12pt;=
color: rgb(0, 0, 0);">
<br>
</div>
<div style=3D"font-family: Calibri, Helvetica, sans-serif; font-size: 12pt;=
color: rgb(0, 0, 0);">
I imagine I would need to update all rancid groups .git files accordingly, =
at a minimum.</div>
<div style=3D"font-family: Calibri, Helvetica, sans-serif; font-size: 12pt;=
color: rgb(0, 0, 0);">
<br>
</div>
<div style=3D"font-family: Calibri, Helvetica, sans-serif; font-size: 12pt;=
color: rgb(0, 0, 0);">
Thanks,</div>
</body>
</html>
--_000_CY4PR19MB0934D37221C543D00C5220E9B5AA0CY4PR19MB0934namp_--
--===============8977548767943192830==
Content-Type: text/plain; charset="us-ascii"
MIME-Version: 1.0
Content-Transfer-Encoding: 7bit
Content-Disposition: inline
_______________________________________________
Rancid-discuss mailing list
[email protected]
http://www.shrubbery.net/mailman/listinfo/rancid-discuss
--===============8977548767943192830==--