Skip to content

Instantly share code, notes, and snippets.

@simplyadrian
Last active August 29, 2015 14:21
Show Gist options
  • Save simplyadrian/0ae298f42b16e716c87d to your computer and use it in GitHub Desktop.
Save simplyadrian/0ae298f42b16e716c87d to your computer and use it in GitHub Desktop.
install s3 via RightScale
#!/bin/bash
#
# Test for a reboot, if this is a reboot just skip this script.
#
if test "$RS_REBOOT" = "true" -o "$RS_ALREADY_RUN" = "true" ; then
logger -t RightScale "AWS::S3 install, skipped on a reboot."
exit 0
fi
#S3 tools now require right_aws gem
gem install aws-s3 -y --no-ri --no-rdoc
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment