Does work i the aws cookbook?


#1

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


#2

Hi David,

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

Michael Goetz — Consulting

651.271.7121 – mpgoetz@getchef.com – *my: *Linkedin
http://www.linkedin.com/in/mpgoetz/ Twitter
http://www.twitter.com/michaelpgoetz

CHEF

GETCHEF.COM http://www.getchef.com

TM

getchef.com http://www.getchef.com Blog http://www.opscode.com/blog/
Facebook https://www.facebook.com/getchefdotcom Twitter
https://twitter.com/chef Youtube https://www.youtube.com/getchef

Miss ChefConf? Watch the videos!
https://www.youtube.com/playlist?list=PL11cZfNdwNyMmx0msapJfuGsLV43C7XsA

On Fri, Jul 4, 2014 at 6:56 AM, David Montgomery davidmontgomery@gmail.com
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


#3

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 mpgoetz@getchef.com 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

Michael Goetz — Consulting

651.271.7121 – mpgoetz@getchef.com – *my: *Linkedin
http://www.linkedin.com/in/mpgoetz/ Twitter
http://www.twitter.com/michaelpgoetz

CHEF

GETCHEF.COM http://www.getchef.com

TM

getchef.com http://www.getchef.com Blog
http://www.opscode.com/blog/ Facebook
https://www.facebook.com/getchefdotcom Twitter
https://twitter.com/chef Youtube https://www.youtube.com/getchef

Miss ChefConf? Watch the videos!
https://www.youtube.com/playlist?list=PL11cZfNdwNyMmx0msapJfuGsLV43C7XsA

On Fri, Jul 4, 2014 at 6:56 AM, David Montgomery <
davidmontgomery@gmail.com> 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 jdunn@aquezada.com * 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 ]