add regex based slave puppet config