summaryrefslogtreecommitdiff
path: root/lib/oxidized/model/opengear.rb
diff options
context:
space:
mode:
Diffstat (limited to 'lib/oxidized/model/opengear.rb')
-rw-r--r--lib/oxidized/model/opengear.rb6
1 files changed, 3 insertions, 3 deletions
diff --git a/lib/oxidized/model/opengear.rb b/lib/oxidized/model/opengear.rb
index 7f801f8..e0d4c0a 100644
--- a/lib/oxidized/model/opengear.rb
+++ b/lib/oxidized/model/opengear.rb
@@ -1,6 +1,7 @@
class OpenGear < Oxidized::Model
+ comment '# '
- comment '# '
+ prompt /^(\$\s)?$/
cmd :secret do |cfg|
cfg.gsub!(/password (\S+)/, 'password <secret removed>')
@@ -13,7 +14,6 @@ class OpenGear < Oxidized::Model
cmd 'config -g config'
cfg :ssh do
- exec true # don't run shell, run each command in exec channel
+ exec true # don't run shell, run each command in exec channel
end
-
end