restebanez/agi — pull request #33 by harryw (2012-09-27 16:02:49+00:00)
Title: RDS parameter groups updated properly

This PR ensures that RDS parameter groups are set as configured in Agi, whether creating a new RDS instance or restoring a snapshot.

The complication is that when restoring a snapshot you can't set the parameter group - similar to the security group. So there is a delayed job that waits until the RDS is available and then updates it. However, changing the parameter group requires a reboot to take effect, so that is a new feature and a reboot endpoint has been implemented in AgiFog too.

There is Cucumber test coverage of this behaviour, ensuring that RDS instances get the correct settings in a timely manner. These tests are isolated through VCR in normal usage.

Also, the default parameter group has been changed to use an mdsol custom group. The user still needs to select the appropriate group for the Mysql engine version.