Discussion:
[rancid] Clarification regarding using git-remote in latest rancid release-3.4.1
Mahesh Raghunandanan
2016-05-24 22:07:32 UTC
Permalink
Hey Folks,

I am pretty new to rancid. Have been assigned the task to take backups of
our networking devices via rancid and use git as revision system.
I have already played around using rancid using svn and it works as
expected and creates local checkouts and emails me the differences if any
changes has happened in configs on my devices. I am happy with this.
But I need to accomplish it using git and push all the configurations to my
remote GITLAB. I have created a new project rancid.git in my GITLAB
(remote-host) account. So, I need to configure rancid in such a way, that
all configurations are automatically pushed to GITLAB instead of local
checkouts.

I read somewhere that in Rancid-2.3.6, there was a patch called git-remote
which accomplishes this task. But in the latest rancid release, 3.4.1, I
tried , it doesn't work.

Any experts here, who have configured rancid-3.4.1 using git and changes
being pushed to GITLAB.
Your thoughts are much appreciated.

Best Regards,
Mahesh R
heasley
2016-05-28 20:27:15 UTC
Permalink
Post by Mahesh Raghunandanan
I read somewhere that in Rancid-2.3.6, there was a patch called git-remote
which accomplishes this task. But in the latest rancid release, 3.4.1, I
tried , it doesn't work.
Any experts here, who have configured rancid-3.4.1 using git and changes
being pushed to GITLAB.
3.4.1 with git works for me. "it doesnt work" provides zero information
for anyone to help you. what doesn not work? it doesnt diff? doesnt
commit? doesnt pull configs from devices? what are the errors?
heasley
2016-05-29 10:40:58 UTC
Permalink
https://books.google.com/books?id=GYAQAgAAQBAJ&pg=PA3&lpg=PA3&dq=rancid+git+remote&source=bl&ots=5eKwh8MSX8&sig=xBW3wlqwixl8ewuqslzCeIbPwcU&hl=en&sa=X&ved=0ahUKEwiSzayzm_7MAhVPTlIKHXhdBLM4ChDoAQhCMAY#v=onepage&q&f=false
There is a good example.
Indeed, that is a good example.

Loading...