Sha256: a6083efb563bb2b2a2b7afff3d628ae80b90a2e04126230e61b4aabacd9e1f54

Contents?: true

Size: 399 Bytes

Versions: 1

Compression:

Stored size: 399 Bytes

Contents

require 'chef/knife'
require 'chef/knife/ssh'

class Chef
  class Knife
    class Ssh
      
      def configure_attribute
        config[:override_attribute] = config[:attribute] || Chef::Config[:knife][:ssh_attribute]
        config[:attribute] = (Chef::Config[:knife][:ssh_attribute] ||
                              config[:attribute] || "private_ipaddress").strip
      end

    end
  end
end

Version data entries

1 entries across 1 versions & 1 rubygems

Version Path
knife-undev-0.0.8 lib/knife/undev/monkey_patches/ssh.rb