diff options
author | boudreau <yves.boudreau@mcgill.ca> | 2017-02-14 10:18:35 -0500 |
---|---|---|
committer | GitHub <noreply@github.com> | 2017-02-14 10:18:35 -0500 |
commit | 38151b82d2df294bdfcb2876120d0ca23462dca3 (patch) | |
tree | b691abfb74562e0042c8432cfc60318ee0ec9c26 /lib/oxidized/model | |
parent | f2d0abbdcac471267ebde1a5fc75bf1fb63fcba3 (diff) |
Update opengear.rb
With new update :
OpenGear/CM71xx Version 3.16.6u1 e02e2d59 -- Mon Nov 14 17:44:05 EST 2016
the backup wasn't working anymore, needed a prompt
Diffstat (limited to 'lib/oxidized/model')
-rw-r--r-- | lib/oxidized/model/opengear.rb | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/lib/oxidized/model/opengear.rb b/lib/oxidized/model/opengear.rb index 7f801f8..b7c697f 100644 --- a/lib/oxidized/model/opengear.rb +++ b/lib/oxidized/model/opengear.rb @@ -1,6 +1,8 @@ class OpenGear < Oxidized::Model comment '# ' + + prompt /^(\$\s)?$/ cmd :secret do |cfg| cfg.gsub!(/password (\S+)/, 'password <secret removed>') |