compatibility for puppet 3