package "unzip"

remote_file "/tmp/awscli-bundle.zip" do
  source "https://s3.amazonaws.com/aws-cli/awscli-bundle.zip"
  mode '0755'
  action :create
end

execute 'unzipaws' do
  command 'unzip -o awscli-bundle.zip'
   cwd '/tmp'
 end

execute 'installaws' do
  command 'sudo ./awscli-bundle/install -i /usr/local/aws -b /usr/local/bin/aws'
  cwd '/tmp'
end

package "unzip"

remote_file "/tmp/awscli-bundle.zip" do
  source "https://s3.amazonaws.com/aws-cli/awscli-bundle.zip"
  mode '0755'
  action :create
end

execute 'unzipaws' do
  command 'unzip -o awscli-bundle.zip'
   cwd '/tmp'
 end

execute 'installaws' do
  command 'sudo ./awscli-bundle/install -i /usr/local/aws -b /usr/bin/aws'
  cwd '/tmp'
end

Put this in `/usr/bin` because the test box has a weird PATH var
Put this in `/usr/bin` because the test box has a weird PATH var


Former-commit-id: 74bf92c9d52527f5736aad44cbe46606f10f329f