Mailing List Archive

RANCID 3.8 and Git - sync to remote repo instead of or in addition to local repo?
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 interaction 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-locations

I imagine I would need to update all rancid groups .git files accordingly, at a minimum.

Thanks,
Re: RANCID 3.8 and Git - sync to remote repo instead of or in addition to local repo? [ In reply to ]
Wed, Aug 21, 2019 at 09:10:04PM +0000, Ni Ne:
> 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 interaction with it.
>
> Is it feasible to have rancid update both repo's simultaneously? The local one on the server, and a remote repo?

this is covered in the rancid FAQ.

_______________________________________________
Rancid-discuss mailing list
Rancid-discuss@shrubbery.net
http://www.shrubbery.net/mailman/listinfo/rancid-discuss