fix puppet sed scripts