[chef] Re: does work i the aws cookbook?


Chronological Thread 
  • From: Michael Goetz < >
  • To:
  • Subject: [chef] Re: does work i the aws cookbook?
  • Date: Fri, 4 Jul 2014 07:05:50 -0700

Hi David,

It looks like you have the wrong parameter name for the aws_s3_file resource. It should be aws_access_key_id

https://github.com/opscode-cookbooks/aws#aws_s3_file



On Fri, Jul 4, 2014 at 6:56 AM, David Montgomery < " target="_blank"> > wrote:
Woweeeeee

Does the aws cookbook work?  The below is based on the git example for s3 download of a file.  Rather confused.

Thanks


aws_s3_file "/tmp" do
  bucket "gggggg"
  remote_path "local/VersionControl.groovy"
  aws_access_key "sfadfasdfasdf"
  aws_secret_access_key "sfgsfgsdfgsdfg"
end


================================================================================
Recipe Compile Error in /home/ubuntu/workspace/augno-chef/chef-repo/cookbooks/titan/recipes/rexster-server-hbase.rb
================================================================================


NoMethodError
-------------
undefined method `aws_access_key' for Chef::Resource::AwsS3File




 62:  aws_s3_file "/tmp" do
 63:    bucket "ggggg"
 64:    remote_path "local/VersionControl.groovy"
 65>>   aws_access_key "fsfgsdfgsdfg"
 66:    aws_secret_access_key "adfasdfasdfasfasdf"
 68:  end





Archive powered by MHonArc 2.6.16.

§