Skip to content

Instantly share code, notes, and snippets.

View przygode's full-sized avatar

Katherine Przygode przygode

View GitHub Profile
@przygode
przygode / recipe.rb
Created July 27, 2011 21:50 — forked from peplin/recipe.rb
S3 File Resource for Chef
# Source accepts the protocol s3:// with the host as the bucket
# access_key_id and secret_access_key are just that
s3_file "/var/bulk/the_file.tar.gz" do
source "s3://your.bucket/the_file.tar.gz"
access_key_id your_key
secret_access_key your_secret
owner "root"
group "root"
mode 0644
end