copy from rightscale_cookbooks