Refactored code to use chef templates rather than sed to setup ROLE and SEEDADDRESS