Refactor for OpsWorks chef 11