Code for chef configurations ruby