From 2e2d5fde34efddc669e97c4c8af581ca2aaf3e1c Mon Sep 17 00:00:00 2001 From: Nick Hilliard Date: Sun, 10 Jul 2016 11:09:53 +0100 Subject: move ssh_no_exec exec test into exec definition --- lib/oxidized/model/tmos.rb | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'lib/oxidized/model/tmos.rb') diff --git a/lib/oxidized/model/tmos.rb b/lib/oxidized/model/tmos.rb index 7a1ca73..390046d 100644 --- a/lib/oxidized/model/tmos.rb +++ b/lib/oxidized/model/tmos.rb @@ -46,7 +46,7 @@ class TMOS < Oxidized::Model cmd('cat /config/partitions/*/bigip.conf') { |cfg| comment cfg } cfg :ssh do - exec true unless vars :ssh_no_exec # don't run shell, run each command in exec channel + exec true # don't run shell, run each command in exec channel end end -- cgit v1.2.1