Class: Chef::Knife::Ssh
- Inherits:
-
Object
- Object
- Chef::Knife::Ssh
- Defined in:
- lib/knife-nc/chef_extensions.rb
Instance Method Summary collapse
Instance Method Details
#original_session_from_list ⇒ Object
24 |
# File 'lib/knife-nc/chef_extensions.rb', line 24 alias original_session_from_list session_from_list |
#session_from_list(list) ⇒ Object
31 32 33 34 35 36 37 |
# File 'lib/knife-nc/chef_extensions.rb', line 31 def session_from_list(list) session = original_session_from_list(list) session.servers.each do |server| server.[:passphrase] = config[:ssh_passphrase] end session end |