summaryrefslogtreecommitdiff
path: root/lib
diff options
context:
space:
mode:
authorytti <saku@ytti.fi>2017-02-14 17:40:26 +0200
committerGitHub <noreply@github.com>2017-02-14 17:40:26 +0200
commit6c3047014d6c2fc924cc359adca45b38f61d3527 (patch)
treeb691abfb74562e0042c8432cfc60318ee0ec9c26 /lib
parentf2d0abbdcac471267ebde1a5fc75bf1fb63fcba3 (diff)
parent38151b82d2df294bdfcb2876120d0ca23462dca3 (diff)
Merge pull request #721 from boudreau/patch-1
Update opengear.rb
Diffstat (limited to 'lib')
-rw-r--r--lib/oxidized/model/opengear.rb2
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>')