Class: Chef::Knife::VcLogin
- Inherits:
-
Chef::Knife
- Object
- Chef::Knife
- Chef::Knife::VcLogin
- Includes:
- VcCommon
- Defined in:
- lib/chef/knife/vc_login.rb
Instance Method Summary collapse
Methods included from VcCommon
#connection, #deprecation_msg, #generate_key, #get_password, included, #locate_config_value, #locate_org_option, #notice_msg, #out_msg, #pretty_symbol, #sort_by_key, #store_config, #store_password, #wait_task
Instance Method Details
#run ⇒ Object
28 29 30 31 32 33 34 35 |
# File 'lib/chef/knife/vc_login.rb', line 28 def run $stdout.sync = true connection.login out_msg("Authenticated successfully, code", connection.auth_key) connection.logout end |