<commit_before>require 'puppet/provider/parsedfile'

Puppet::Type.type(:centrifydc_line).provide(
  :parsed,
  :parent => Puppet::Provider::ParsedFile,
  :default_target => '/etc/centrifydc/centrifydc.conf',
  :filetype => :flat
) do
  desc 'The centrifydc_line provider that uses the ParsedFile class'
  
  text_line :comment, :match => /^\s*#/

  text_line :blank, :match => /^\s*$/

  record_line :parsed,
    :fields => %w{setting value},
    :match => /^\s*([\w\.:]+): (.+)$/,
    :separator => ': ',
    :to_line  => proc { |h| 
      str = h[:setting]
      str += ': '
      str += h[:value]
      str
    }
end
<commit_msg>drop :separator in centrify_line provider<commit_after>require 'puppet/provider/parsedfile'

Puppet::Type.type(:centrifydc_line).provide(
  :parsed,
  :parent => Puppet::Provider::ParsedFile,
  :default_target => '/etc/centrifydc/centrifydc.conf',
  :filetype => :flat
) do
  desc 'The centrifydc_line provider that uses the ParsedFile class'
  
  text_line :comment, :match => /^\s*#/

  text_line :blank, :match => /^\s*$/

  record_line :parsed,
    :fields => %w{setting value},
    :match => /^\s*([\w\.:]+): (.+)$/,
    :to_line  => proc { |h| 
      str = h[:setting]
      str += ': '
      str += h[:value]
      str
    }
end

{'fraction_non_alphanumeric': 0.19242902208201892, 'fraction_numerical': 0.0, 'mean_word_length': 3.1335504885993486, 'pattern_counts': {'":': 0, '<': 3, '<?xml version=': 0, '>': 20, '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': '2003050', 'n_tokens_mistral': 492, 'n_tokens_neox': 475, 'n_words': 95}