Skip to content

Instantly share code, notes, and snippets.

@seventhskye
Last active October 31, 2015 11:33
Show Gist options
  • Save seventhskye/ab640169130f5d78d268 to your computer and use it in GitHub Desktop.
Save seventhskye/ab640169130f5d78d268 to your computer and use it in GitHub Desktop.
Installs the aws-cfn-bootstrap helper scripts on Debian.
#!/bin/bash -ex
apt-get update
apt-get -y install python-setuptools
mkdir aws-cfn-bootstrap-latest
curl https://s3.amazonaws.com/cloudformation-examples/aws-cfn-bootstrap-latest.tar.gz | tar xz -C aws-cfn-bootstrap-latest --strip-components 1
easy_install aws-cfn-bootstrap-latest
cp -f aws-cfn-bootstrap-latest/init/ubuntu/cfn-hup /etc/init.d/ && chmod 0755 /etc/init.d/cfn-hup
update-rc.d cfn-hup defaults
service cfn-hup start
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment