updated for puppet 3.4.0