summaryrefslogtreecommitdiff
path: root/lib/oxidized/model/opengear.rb
diff options
context:
space:
mode:
authorNat Morris <nat@nuqe.net>2017-02-16 16:21:01 +0000
committerGitHub <noreply@github.com>2017-02-16 16:21:01 +0000
commite2d583728543e0b46c21a8fad56674bbda544006 (patch)
tree12f9fe9ba263121d9bf6fdc819444d8c19321a5a /lib/oxidized/model/opengear.rb
parent9a5bbb784ae36b824072051e570d5f752c531d68 (diff)
parentdeae31cb04c184266e1b9c843325604a90113665 (diff)
Merge pull request #10 from ytti/master
Bring Netflix master in sync with upstream
Diffstat (limited to 'lib/oxidized/model/opengear.rb')
-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>')