Sha256: 4faff10b8bc474a4e91fc6d8d7db252d2d4a0c43508393fe27966e0f8f97d1a7

Contents?: true

Size: 843 Bytes

Versions: 78

Compression:

Stored size: 843 Bytes

Contents

#
# Put your own AWS credentials in knife-user-ironfantester.rb, not here.
#
Chef::Config.instance_eval do
  organization            "ironfantest"
  chef_server_url         "https://api.opscode.com/organizations/#{organization}"
  validation_client_name  "#{organization}-validator"
  validation_key          "#{credentials_path}/#{organization}-validator.pem"

  Chef::Config[:ec2_image_info] ||= {}
  ec2_image_info.merge!({
      %w[us-east-1  64-bit  ebs  alestic-precise] => { :image_id => 'ami-b0d309d9', :ssh_user => 'ubuntu', :bootstrap_distro => "ubuntu12.04-gems", },
    })
  Chef::Log.debug("Loaded #{__FILE__}, now have #{ec2_image_info.size} ec2 images")

  # Don't complain about ssh known_hosts
  knife[:host_key_verify]       = false # yeah... so 0.10.7+ uses one, 0.10.4 the other.
  knife[:no_host_key_verify]    = true
end

Version data entries

78 entries across 78 versions & 1 rubygems

Version Path
ironfan-6.1.9 spec/integration/minimal-chef-repo/knife/credentials/knife-org.rb
ironfan-6.0.9 spec/integration/minimal-chef-repo/knife/credentials/knife-org.rb
ironfan-6.1.7 spec/integration/minimal-chef-repo/knife/credentials/knife-org.rb
ironfan-6.1.6 spec/integration/minimal-chef-repo/knife/credentials/knife-org.rb
ironfan-6.0.8 spec/integration/minimal-chef-repo/knife/credentials/knife-org.rb
ironfan-6.1.5 spec/integration/minimal-chef-repo/knife/credentials/knife-org.rb
ironfan-6.1.4 spec/integration/minimal-chef-repo/knife/credentials/knife-org.rb
ironfan-6.1.3 spec/integration/minimal-chef-repo/knife/credentials/knife-org.rb
ironfan-6.1.0 spec/integration/minimal-chef-repo/knife/credentials/knife-org.rb
ironfan-6.0.7 spec/integration/minimal-chef-repo/knife/credentials/knife-org.rb
ironfan-5.0.11 spec/integration/minimal-chef-repo/knife/credentials/knife-org.rb
ironfan-6.0.6 spec/integration/minimal-chef-repo/knife/credentials/knife-org.rb
ironfan-6.0.5 spec/integration/minimal-chef-repo/knife/credentials/knife-org.rb
ironfan-6.0.4 spec/integration/minimal-chef-repo/knife/credentials/knife-org.rb
ironfan-6.0.3 spec/integration/minimal-chef-repo/knife/credentials/knife-org.rb
ironfan-6.0.1 spec/integration/minimal-chef-repo/knife/credentials/knife-org.rb
ironfan-6.0.0 spec/integration/minimal-chef-repo/knife/credentials/knife-org.rb
ironfan-5.0.10 spec/integration/minimal-chef-repo/knife/credentials/knife-org.rb
ironfan-5.0.8 spec/integration/minimal-chef-repo/knife/credentials/knife-org.rb
ironfan-5.0.5 spec/integration/minimal-chef-repo/knife/credentials/knife-org.rb