summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorSaku Ytti <saku@ytti.fi>2014-08-13 15:13:12 +0300
committerSaku Ytti <saku@ytti.fi>2014-08-13 15:13:12 +0300
commite53e9c394ebb512260d3f91b14ff5dc3798019ff (patch)
treebffe319220d8b478d2583c96212a9c601e6862e1
parenta0115f27c17317cb9d2a2e4012cdbbb88b987063 (diff)
parent9be5cb4bccad0fcc6fd0b6ab7779cc361fa27620 (diff)
Merge branch 'master' into cfg_as_object
-rw-r--r--CHANGELOG.md1
-rw-r--r--lib/oxidized/model/procurve.rb1
2 files changed, 2 insertions, 0 deletions
diff --git a/CHANGELOG.md b/CHANGELOG.md
index f430e42..60dd462 100644
--- a/CHANGELOG.md
+++ b/CHANGELOG.md
@@ -1,5 +1,6 @@
# 0.2.3
- BUGFIX: rescue @ssh.close when far end closes disgracefully (ALU ISAM)
+- BUGFIX: remove changing lines from model/procurve.rb 'show system-information' output
- FEATURE: Alcatel-Lucent ISAM 7302/7330 model added by @jalmargyyk
- FEATURE: Huawei VRP model added by @jalmargyyk
- FEATURE: Support 'input' debug in config, ssh/telnet use it to write session log
diff --git a/lib/oxidized/model/procurve.rb b/lib/oxidized/model/procurve.rb
index e8a6bf6..684a4b6 100644
--- a/lib/oxidized/model/procurve.rb
+++ b/lib/oxidized/model/procurve.rb
@@ -27,6 +27,7 @@ class Procurve < Oxidized::Model
end
cmd 'show system-information' do |cfg|
+ cfg = cfg.split("\n")[0..-8].join("\n")
comment cfg
end