<commit_before>module Moonshine
  module Msttcorefonts

    # Define options for this plugin via the <tt>configure</tt> method
    # in your application manifest:
    #
    #    configure(:msttcorefonts => {:foo => true})
    #
    # Moonshine will autoload plugins, just call the recipe(s) you need in your
    # manifests:
    #
    #    recipe :msttcorefonts
    def msttcorefonts(options = {})
      # define the recipe
      # options specified with the configure method will be 
      # automatically available here in the options hash.
      #    options[:foo]   # => true


      # This accepts Microsoft's EULA for corefonts. Deploying implies that you've accepted this as well
      #   http://corefonts.sourceforge.net/eula.htm

      file '/var/cache/preseeding',
        :ensure => :directory,
        :alias => 'preseeding directory'

      file '/var/cache/preseeding/msttcorefonts.seed',
        :ensure => :present,
        :content => template('msttcorefonts.seed')

      package 'msttcorefonts',
        :ensure => :installed,<commit_msg>Update path to template file<commit_after>module Moonshine
  module Msttcorefonts

    # Define options for this plugin via the <tt>configure</tt> method
    # in your application manifest:
    #
    #    configure(:msttcorefonts => {:foo => true})
    #
    # Moonshine will autoload plugins, just call the recipe(s) you need in your
    # manifests:
    #
    #    recipe :msttcorefonts
    def msttcorefonts(options = {})
      # define the recipe
      # options specified with the configure method will be 
      # automatically available here in the options hash.
      #    options[:foo]   # => true


      # This accepts Microsoft's EULA for corefonts. Deploying implies that you've accepted this as well
      #   http://corefonts.sourceforge.net/eula.htm

      file '/var/cache/preseeding',
        :ensure => :directory,
        :alias => 'preseeding directory'

      file '/var/cache/preseeding/msttcorefonts.seed',
        :ensure => :present,
        :content => template(File.join(File.dirname(__FILE__), '..', '..', 'templates','msttcorefonts.seed'))

      package 'msttcorefonts',
        :ensure => :installed,
{'fraction_non_alphanumeric': 0.10593607305936073, 'fraction_numerical': 0.0, 'mean_word_length': 2.7135593220338983, 'pattern_counts': {'":': 0, '<': 7, '<?xml version=': 0, '>': 23, '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': '6176530', 'n_tokens_mistral': 663, 'n_tokens_neox': 628, 'n_words': 182}