a reworked version of the opsworks_custom_env cookbook