summaryrefslogtreecommitdiff
path: root/lib/oxidized/model
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 /lib/oxidized/model
parenta0115f27c17317cb9d2a2e4012cdbbb88b987063 (diff)
parent9be5cb4bccad0fcc6fd0b6ab7779cc361fa27620 (diff)
Merge branch 'master' into cfg_as_object
Diffstat (limited to 'lib/oxidized/model')
-rw-r--r--lib/oxidized/model/procurve.rb1
1 files changed, 1 insertions, 0 deletions
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