From 2110aa95c4ad9474f5e1967986809d452b39139f Mon Sep 17 00:00:00 2001 From: Saku Ytti Date: Sun, 13 Jul 2014 13:56:20 +0300 Subject: Change from grit to rugged a) grit is not supported, rugged is b) grit requires git CLI installed, rugged does not c) grit needs monkey patching to work, rugged does not Closes #21 Closes #22 --- lib/oxidized/model/ios.rb | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'lib/oxidized/model') diff --git a/lib/oxidized/model/ios.rb b/lib/oxidized/model/ios.rb index a9c2d3b..186c9e8 100644 --- a/lib/oxidized/model/ios.rb +++ b/lib/oxidized/model/ios.rb @@ -22,7 +22,7 @@ class IOS < Oxidized::Model cfg.each_line.to_a[1..-2].join end - cmd :secret do |cfg| + cmd :secret do |cfg| cfg.gsub! /^(snmp-server community).*/, '\\1 ' cfg.gsub! /username (\S+) privilege (\d+) (\S+).*/, '