why not just use the apache.gerrit.erb template and get rid of cookbook_file?