fixing issues with puppet 3.2.1