[rancid] Nexus 7k & bootvar_debug churn

heasley heas at shrubbery.net
Wed May 24 19:05:16 UTC 2017


Wed, May 24, 2017 at 07:49:43PM +0100, Nick Hilliard:
> Vinny.Abello at nttdata.com wrote:
> > Thank you, Nick. On my deployment, I don't have an nxrancid file anywhere, but found the same logic in nxos.pm which I applied this to. I suspect this will resolve it.
> 
> er yeah, sorry this came from a rancid 2 deployment, but the patch
> should work against nxos.pm too.

Index: lib/nxos.pm.in
===================================================================
--- lib/nxos.pm.in      (revision 3646)
+++ lib/nxos.pm.in      (working copy)
@@ -487,6 +487,9 @@
        # Drop ee.log
        /\s+ee\.log(?:\..*)?$/ && next;
 
+       # Drop bootvar_debug log files
+       /\s+bootvar_debug\./ && next;
+
        # Drop accounting.log
        /\s+accounting\.log$/ && next;
 



More information about the Rancid-discuss mailing list