<commit_before>module Puppet
  newtype(:cs_colocation) do
    @doc = "Type for manipulating corosync/pacemaker colocation.  Colocation
      is the grouping together of a set of primitives so that they travel
      together when one of them fails.  For instance, if a web server vhost
      is colocated with a specific ip address and the web server software
      crashes, the ip address with migrate to the new host with the vhost.

      More information on Corosync/Pacemaker colocation can be found here:

      * http://www.clusterlabs.org/doc/en-US/Pacemaker/1.1/html/Clusters_from_Scratch/_ensuring_resources_run_on_the_same_host.html"

    ensurable

    newparam(:name) do
      desc "Identifier of the colocation entry.  This value needs to be unique
        across the entire Corosync/Pacemaker configuration since it doesn't have
        the concept of name spaces per type."

      isnamevar
    end

    newproperty(:primitives, :array_matching => :all) do
      desc "Two Corosync primitives to be grouped together.  Colocation groups
        come in twos and order is absolutely relavent.  Property will raise an error if
        you do not provide a two value array."

      # Have to redefine should= here so we can sort the array that is given to
      # us by the manifest.  While were checking on the class of our value we<commit_msg>Fix spelling error in cs_colocation doc<commit_after>module Puppet
  newtype(:cs_colocation) do
    @doc = "Type for manipulating corosync/pacemaker colocation.  Colocation
      is the grouping together of a set of primitives so that they travel
      together when one of them fails.  For instance, if a web server vhost
      is colocated with a specific ip address and the web server software
      crashes, the ip address with migrate to the new host with the vhost.

      More information on Corosync/Pacemaker colocation can be found here:

      * http://www.clusterlabs.org/doc/en-US/Pacemaker/1.1/html/Clusters_from_Scratch/_ensuring_resources_run_on_the_same_host.html"

    ensurable

    newparam(:name) do
      desc "Identifier of the colocation entry.  This value needs to be unique
        across the entire Corosync/Pacemaker configuration since it doesn't have
        the concept of name spaces per type."

      isnamevar
    end

    newproperty(:primitives, :array_matching => :all) do
      desc "Two Corosync primitives to be grouped together.  Colocation groups
        come in twos and order is absolutely relevant.  Property will raise an error if
        you do not provide a two value array."

      # Have to redefine should= here so we can sort the array that is given to
      # us by the manifest.  While were checking on the class of our value we
{'fraction_non_alphanumeric': 0.04382761139517896, 'fraction_numerical': 0.0014609203798392988, 'mean_word_length': 3.075892857142857, 'pattern_counts': {'":': 0, '<': 3, '<?xml version=': 0, '>': 5, 'https://': 0, 'lorem ipsum': 0, 'www.': 2, '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': '6416521', 'n_tokens_mistral': 772, 'n_tokens_neox': 724, 'n_words': 344}