[rancid] Upgrades with new commands and custom PM files.

Jason Biel jason at biel-tech.com
Wed Feb 22 00:45:47 UTC 2017


Is importing both modules supported in 3.6.2 or is it on the roadmap?

On Tue, Feb 21, 2017 at 1:44 PM, heasley <heas at shrubbery.net> wrote:

> Tue, Feb 21, 2017 at 01:33:37PM -0600, Jason Biel:
> > Is copying the whole *.pm the best way though?  All the default
> > commands/routines included.
> >
> > i.e. junos.pm --> junos_rtr.pm; which then gets configured in
> > rancid.types.conf
> >
> > I add the custom commands/routines to 'junos_rtr.pm', but included all
> the
> > original commands/routines. Then when an upgrade comes up and there is a
> > fix to the original junos.pm, it's not in the junos_rtr.pm I created.
> >
> > Thinking out loud, is there a way to have a junos_rtr.pm that includes
> only
> > my custom commands/routines and leave the original junos.pm intact?
>
> implementation decision.  you can import both modules.  see ciscoshtech of
> in the alpha version of rancid.
>



-- 
Jason
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://www.shrubbery.net/pipermail/rancid-discuss/attachments/20170221/802af5ae/attachment.html>


More information about the Rancid-discuss mailing list