<commit_before>def whyrun_supported?
  true
end

def render_rc
  monit_d = "#{node['monit']['conf_dir']}/#{new_resource.name}.conf"

  template monit_d do
    cookbook new_resource.cookbook
    source 'monit.d.erb'
    owner 'root'
    group 'root'
    mode '0600'
    variables({ <commit_msg>update template name in provider<commit_after>def whyrun_supported?
  true
end

def render_rc
  monit_check = "#{node['monit']['conf_dir']}/#{new_resource.name}.conf"

  template monit_check do
    cookbook new_resource.cookbook
    source 'monit.d.erb'
    owner 'root'
    group 'root'
    mode '0600'
    variables({ 
{'fraction_non_alphanumeric': 0.12071778140293637, 'fraction_numerical': 0.013050570962479609, 'mean_word_length': 3.8346456692913384, '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': '4395967', 'n_tokens_mistral': 224, 'n_tokens_neox': 219, 'n_words': 48}