added puppet role code to distinguish master and clients