seporaitis/yum-s3-iam — pull request #4 by phobos182 (2012-09-11 22:06:08+00:00)
Title: gmtime() + s3_enabled + role discovery

Added a few features to yum-s3-iam. Thanks for the code.

1: email.utils time is incorrect. It's using local timezone information from the host to get offsets to calculate gmtime(). If the local timezone is not UTC, you get 403's from S3. Removed email.utils, and added gmtime() from time.
2: s3_enabled=1 is an option in the yum repo file. This is direct from s3-yum, and allows mixing / matching of yum repos that are S3, or regular.
3: Added the ability for the system to discover it's role from the EC2 metadata. No need to specify a role as it is immutable from AMI launch time.

Thanks!