acu72909 - Moved code from rightscale_cookbooks