summaryrefslogtreecommitdiff
path: root/lib/oxidized/model/routeros.rb
diff options
context:
space:
mode:
authorNick Hilliard <nick@foobar.org>2016-07-06 00:31:26 +0100
committerNick Hilliard <nick@foobar.org>2016-07-06 00:35:43 +0100
commit6fb983c3e497dcc8d8b000e9064bb43b10be29c8 (patch)
tree9bd822e9bc57f49cfd47494e8c84d31781888935 /lib/oxidized/model/routeros.rb
parent503c88f987277ff1776f174dc32f3efd24d374dd (diff)
Added support for ssh_no_exec config file variable
Diffstat (limited to 'lib/oxidized/model/routeros.rb')
-rw-r--r--lib/oxidized/model/routeros.rb2
1 files changed, 1 insertions, 1 deletions
diff --git a/lib/oxidized/model/routeros.rb b/lib/oxidized/model/routeros.rb
index 4822500..f7746c8 100644
--- a/lib/oxidized/model/routeros.rb
+++ b/lib/oxidized/model/routeros.rb
@@ -18,6 +18,6 @@ class RouterOS < Oxidized::Model
end
cfg :ssh do
- exec true
+ exec true unless vars :ssh_no_exec
end
end