diff options
author | J. Brandt Buckley <brandt@runlevel1.com> | 2015-03-07 21:43:02 -0800 |
---|---|---|
committer | J. Brandt Buckley <brandt@runlevel1.com> | 2015-03-07 21:43:02 -0800 |
commit | c17d8d48e44fd3277554e03469183fd20f2eefc7 (patch) | |
tree | edf1028a385a4d5fe2395f1f056270b6bccfe4d4 /lib/oxidized/output/git.rb | |
parent | cb851fdc9bfdeae603f8c56fe5bc69838b01f420 (diff) |
Add back ability to use passwordless enable on EOS
This commit adds the ability to go into Privileged EXEC mode when no password is required by setting `enable: true`.
By default, in Arista EOS you aren't prompted for a password when entering Privileged EXEC (or privilege mode 15) mode. In PR #86, oxidized began always expecting a password.
An unquoted `true` in YAML is a boolean. So when `var(:enabled)` is `TrueClass`, we interpret this as meaning that the user wishes to go into Privileged EXEC mode and does not require a password.
Diffstat (limited to 'lib/oxidized/output/git.rb')
0 files changed, 0 insertions, 0 deletions