<commit_before>Puppet::Type.newtype(:openldap_schema) do
  @doc = "Manages OpenLDAP schemas."

  ensurable

  newparam(:name) do
    desc "The default namevar."
  end

  newparam(:path) do
    desc "The location to the schema file."
    validate do |value|
      fail("Invalid file type #{value}") unless value =~ /.*(\.ldif|\.schema)$/i
    end
  end

end
<commit_msg>Add properties to openldap_schema to match values now pulled by provider<commit_after>Puppet::Type.newtype(:openldap_schema) do
  @doc = "Manages OpenLDAP schemas."

  ensurable

  newparam(:name) do
    desc "The default namevar."
  end

  newparam(:path) do
    desc "The location to the schema file."
    validate do |value|
      fail("Invalid file type #{value}") unless value =~ /.*(\.ldif|\.schema)$/i
    end
  end

  newproperty(:index) do
    desc "The index of the schema."
  end

  newproperty(:date) do
    desc "The modifyTimestamp of the schema."
  end

end

{'fraction_non_alphanumeric': 0.11677282377919321, 'fraction_numerical': 0.0, 'mean_word_length': 3.2286995515695067, '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': '108509', 'n_tokens_mistral': 314, 'n_tokens_neox': 307, 'n_words': 100}