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


Chronological Thread 
  • From: "Julian C. Dunn" < >
  • To: " " < >
  • Subject: [chef] Re: Re: does work i the aws cookbook?
  • Date: Fri, 4 Jul 2014 13:42:30 -0400

It's certainly annoying/confusing that the other LWRPs in that cookbook use aws_access_key ... maybe we should change it.

- Julian


On Fri, Jul 4, 2014 at 10:05 AM, Michael Goetz < " target="_blank"> > wrote:
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





--
[ Julian C. Dunn < " target="_blank"> >          * Sorry, I'm    ]
[ WWW: http://www.aquezada.com/staff/julian    * only Web 1.0  ]
[ gopher://sdf.org/1/users/keymaker/           * compliant!    ]
[ PGP: 91B3 7A9D 683C 7C16 715F 442C 6065 D533 FDC2 05B9       ]



Archive powered by MHonArc 2.6.16.

§