make compatible with puppet 2.6.x