updated installPuppet and MySql lifecycle management