support puppet >= 2.7