From 6fb983c3e497dcc8d8b000e9064bb43b10be29c8 Mon Sep 17 00:00:00 2001 From: Nick Hilliard Date: Wed, 6 Jul 2016 00:31:26 +0100 Subject: Added support for ssh_no_exec config file variable --- lib/oxidized/model/opengear.rb | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'lib/oxidized/model/opengear.rb') diff --git a/lib/oxidized/model/opengear.rb b/lib/oxidized/model/opengear.rb index 7f801f8..0e2f8d2 100644 --- a/lib/oxidized/model/opengear.rb +++ b/lib/oxidized/model/opengear.rb @@ -13,7 +13,7 @@ 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 unless vars :ssh_no_exec # don't run shell, run each command in exec channel end end -- cgit v1.2.1