github1 / remote-resource-cookbook

A chef resource providing a common interface for downloading remote files from either an S3 bucket or http server

Repository from Github https://github.comgithub1/remote-resource-cookbookRepository from Github https://github.comgithub1/remote-resource-cookbook

remote-resource-cookbook

Chef cookbook providing remote_resource resource

Usage

Add to Berksfile

cookbook 'remote_resource', git: 'https://github.com/github1/remote-resource-cookbook'

Use in cookbook recipe:

s3 resources

remote_resource "/mys3resource.zip" do
  source 's3://mybucket/myfile.zip'
end

http(s) resources

remote_resource "/myhttpresource.zip" do
  source 'https://.../myfile.zip'
end

About

A chef resource providing a common interface for downloading remote files from either an S3 bucket or http server

License:Apache License 2.0


Languages

Language:Ruby 98.7%Language:Shell 1.3%