Fix template deprecation warnings generated in puppet 3