diff options
author | ytti <saku@ytti.fi> | 2015-09-27 02:59:17 -0500 |
---|---|---|
committer | ytti <saku@ytti.fi> | 2015-09-27 02:59:17 -0500 |
commit | bdbb375d14525f706639e75664c1ceed9024f370 (patch) | |
tree | 568994e348790b325de1b3e677d31b62be9f8a6c /lib/oxidized/model/ironware.rb | |
parent | 3bf7a78e756bc1ac58d52be31be07fad57f233c0 (diff) | |
parent | b39e3ff9bf9cf53a82671c06df0e814078c69035 (diff) |
Merge pull request #199 from nickhilliard/br-fix-ironware-show-module
some ironware devices are fixed config => no modules
Diffstat (limited to 'lib/oxidized/model/ironware.rb')
-rw-r--r-- | lib/oxidized/model/ironware.rb | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/lib/oxidized/model/ironware.rb b/lib/oxidized/model/ironware.rb index d248e1a..c7fbeee 100644 --- a/lib/oxidized/model/ironware.rb +++ b/lib/oxidized/model/ironware.rb @@ -50,6 +50,7 @@ class IronWare < Oxidized::Model end cmd 'show module' do |cfg| + cfg.gsub! /^((Invalid input)|(Type \?)).*$/, '' # some ironware devices are fixed config comment cfg end |