diff options
| author | Nick Hilliard <nick@foobar.org> | 2015-09-26 23:00:36 +0100 |
|---|---|---|
| committer | Nick Hilliard <nick@foobar.org> | 2015-09-26 23:00:36 +0100 |
| commit | b39e3ff9bf9cf53a82671c06df0e814078c69035 (patch) | |
| tree | 95b7e8ba00726292346ace7155fd12395ac43372 /lib | |
| parent | 576a0b1df455d14f4bde0d21c63a1a498248e485 (diff) | |
some ironware devices are fixed config => no modules
Diffstat (limited to 'lib')
| -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 805e07b..f0c187b 100644 --- a/lib/oxidized/model/ironware.rb +++ b/lib/oxidized/model/ironware.rb @@ -55,6 +55,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 |
