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

Jason Biel jason at biel-tech.com
Wed Feb 22 12:30:05 UTC 2017


Following the iosshtech example and building a specific PM for 'show system
commit', I get:

loadtype: device type junos_rtr
loadtype: found device type junos_rtr in /var/rancid/etc/rancid.types.conf
Carp::EXPORT_FAIL cached: verbose &verbose at
/usr/share/perl5/Exporter/Heavy.pm line 173.
Importing into Carp from Carp: carp, confess, croak at
/usr/share/perl5/Exporter/Heavy.pm line 192.
Importing into junos_sys_commit from rancid: $VERSION, $aclfilterseq,
$aclsort, $clean_run, $cmds_regexp, $commandcnt, $commandstr, $debug,
$devtype, $file, $filter_commstr, $filter_osc, $filter_pwds, $found_end,
$host, $inloop, $log, $lscript, $prompt, $script, $timeo, %commands,
@commands, @commandtable, @modules, ProcessHistory, RunCommand, ipaddrval,
ipsort, keynsort, keysort, loadtype, numerically, numsort, rancidinit,
sortbyipaddr, valsort at /var/rancid/lib/rancid/junos_sys_commit.pm line 55

line 55 being the 'use rancid 3.6.2;' statement.  The error persists even
when using 'use rancid;'

The commands shown include the added module/command, which is interesting.


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

> Tue, Feb 21, 2017 at 06:45:47PM -0600, Jason Biel:
> > Is importing both modules supported in 3.6.2 or is it on the roadmap?
>
> yes, since 3.0.
>



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


More information about the Rancid-discuss mailing list