<commit_before>#
# Cookbook Name: monit
# Provider:: check
#

class Chef
  class Provider
    class MonitCheck < Chef::Provider

      def load_current_resource
        @current_resource || Chef::Resource::MonitCheck.new(new_resource.name)
      end

      def action_create
        r = template 'monit-check' do
              cookbook new_resource.cookbook
              path "#{node['monit']['conf_dir']}/#{new_resource.name}.conf"
              source 'monit.check.erb'
              owner 'root'
              group 'root'<commit_msg>fix resource duplication warnings<commit_after>#
# Cookbook Name: monit
# Provider:: check
#

class Chef
  class Provider
    class MonitCheck < Chef::Provider

      def load_current_resource
        @current_resource || Chef::Resource::MonitCheck.new(new_resource.name)
      end

      def action_create
        r = template "monit-check-#{new_resource.name}" do
              cookbook new_resource.cookbook
              path "#{node['monit']['conf_dir']}/#{new_resource.name}.conf"
              source 'monit.check.erb'
              owner 'root'
              group 'root'
{'fraction_non_alphanumeric': 0.10474485228290063, 'fraction_numerical': 0.0, 'mean_word_length': 2.408536585365854, 'pattern_counts': {'":': 0, '<': 5, '<?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': '4917923', 'n_tokens_mistral': 330, 'n_tokens_neox': 317, 'n_words': 70}