[rancid] [PATCH] Custom vendor definitions in rancid.conf

Matej Vela vela at debian.org
Tue Feb 28 21:24:13 UTC 2012


Hi,

We're using some custom scripts like alurancid and h3crancid, and it can
be slightly inconvenient to add them to rancid-fe after each upgrade
(especially with a .deb or .rpm).

This may be feature creep, but in case you think it's useful, here's a
patch that allows rancid.conf to define additional vendor scripts for
rancid-fe, e.g.:

    CUSTOM_VENDOR_H3C=h3crancid; export CUSTOM_VENDOR_H3C

(dpkg, rpm, etc. typically preserve configuration files across upgrades,
so this removes the need for manually patching stuff.)

Thanks,

Matej
-------------- next part --------------
An embedded and charset-unspecified text was scrubbed...
Name: custom-vendor.patch
URL: <http://www.shrubbery.net/pipermail/rancid-discuss/attachments/20120228/301bb9db/attachment.ksh>


More information about the Rancid-discuss mailing list