[rancid] Upgrades with new commands and custom PM files.
heasley
heas at shrubbery.net
Tue Feb 21 19:44:14 UTC 2017
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.
More information about the Rancid-discuss
mailing list