diff options
author | Nick Hilliard <nick@foobar.org> | 2016-07-10 11:09:53 +0100 |
---|---|---|
committer | Nick Hilliard <nick@foobar.org> | 2016-07-10 11:09:53 +0100 |
commit | 2e2d5fde34efddc669e97c4c8af581ca2aaf3e1c (patch) | |
tree | 043e46157fc499455223201b108a64effc1891a9 /lib/oxidized/model/junos.rb | |
parent | 80e3d54056b7cfc7bb0ab240ae89e19b959b1a6a (diff) |
move ssh_no_exec exec test into exec definition
Diffstat (limited to 'lib/oxidized/model/junos.rb')
-rw-r--r-- | lib/oxidized/model/junos.rb | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/lib/oxidized/model/junos.rb b/lib/oxidized/model/junos.rb index a4fee6a..058e3cf 100644 --- a/lib/oxidized/model/junos.rb +++ b/lib/oxidized/model/junos.rb @@ -43,7 +43,7 @@ class JunOS < Oxidized::Model end 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 cfg :telnet, :ssh do |