Class: Chef::Knife::Bootstrap

Inherits:
Object
  • Object
show all
Defined in:
lib/knife-nc/chef_extensions.rb

Instance Method Summary collapse

Instance Method Details

#knife_sshObject



48
49
50
51
52
# File 'lib/knife-nc/chef_extensions.rb', line 48

def knife_ssh
  ssh = original_knife_ssh
  ssh.config[:ssh_passphrase] = config[:ssh_passphrase]
  ssh
end

#original_knife_sshObject



41
# File 'lib/knife-nc/chef_extensions.rb', line 41

alias original_knife_ssh knife_ssh