summaryrefslogtreecommitdiff
path: root/lib/oxidized/model/ios.rb
diff options
context:
space:
mode:
authorSaku Ytti <saku@ytti.fi>2014-07-13 13:56:20 +0300
committerSaku Ytti <saku@ytti.fi>2014-07-13 13:56:20 +0300
commit2110aa95c4ad9474f5e1967986809d452b39139f (patch)
tree5d382fd4af0f4dcd1355234f457ec6a14b28155a /lib/oxidized/model/ios.rb
parent2b587078e82fcbb3795b8f0fb3598de52ca630a4 (diff)
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
Diffstat (limited to 'lib/oxidized/model/ios.rb')
-rw-r--r--lib/oxidized/model/ios.rb2
1 files changed, 1 insertions, 1 deletions
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 <configuration removed>'
cfg.gsub! /username (\S+) privilege (\d+) (\S+).*/, '<secret hidden>'
cfg