use array syntax in function_template to be puppet 3.x friendly