From 9be5cb4bccad0fcc6fd0b6ab7779cc361fa27620 Mon Sep 17 00:00:00 2001 From: Jari Salo Date: Wed, 13 Aug 2014 13:01:27 +0300 Subject: Remove changing lines from procurve.rb --- CHANGELOG.md | 1 + lib/oxidized/model/procurve.rb | 1 + 2 files changed, 2 insertions(+) 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 -- cgit v1.2.1