Fix the templates for puppet 3.2 deprecation warnings