<commit_before><commit_msg>Chef - override template<commit_after># Override template in wrapper cookbook
begin
  res = resources(template: "FULL_PATH_TO_FILE_ON_OS_AFTER_CHEF_RUN")
  res.cookbook "CURRENT_WRAPPER_COOKBOOK"
  res.source "TEMPLATE_NAME_IN_WRAPPER_COOKBOOK"
rescue Chef::Exceptions::ResourceNotFound
  Chef::Log.warn "File not found""
end
{'fraction_non_alphanumeric': 0.08522727272727272, 'fraction_numerical': 0.0, 'mean_word_length': 8.54054054054054, 'pattern_counts': {'":': 0, '<': 3, '<?xml version=': 0, '>': 3, 'https://': 0, 'lorem ipsum': 0, 'www.': 0, 'xml': 0}, 'pii_count': 0, 'substrings_counts': 0, 'word_list_counts': {'cursed_substrings.json': 0, 'profanity_word_list.json': 0, 'sexual_word_list.json': 0, 'zh_pornsignals.json': 0}}
{'dir': 'git-commits-cleaned', 'id': '6462584', 'n_tokens_mistral': 127, 'n_tokens_neox': 124, 'n_words': 23}