some puppet utils