<commit_before>require 'chef_metal/provisioner'
require 'chef_metal/aws_credentials'
require 'chef_metal/openstack_credentials'
require 'chef_metal/version'
require 'chef_metal/machine/windows_machine'
require 'chef_metal/machine/unix_machine'
require 'chef_metal/convergence_strategy/install_msi'
require 'chef_metal/convergence_strategy/install_cached'
require 'chef_metal/transport/ssh'
require 'fog'
require 'fog/core'
require 'fog/compute'
require 'fog/aws'

module ChefMetalFog
  # Provisions machines in vagrant.
  class FogProvisioner < ChefMetal::Provisioner

    include Chef::Mixin::ShellOut

    DEFAULT_OPTIONS = {
      :create_timeout => 600,
      :start_timeout => 600,
      :ssh_timeout => 20
    }

    def self.inflate(node)
      url = node['normal']['provisioner_output']['provisioner_url']<commit_msg>Get ChefMetalFog::VERSION so provisioner, you know, works<commit_after>require 'chef_metal/provisioner'
require 'chef_metal/aws_credentials'
require 'chef_metal/openstack_credentials'
require 'chef_metal/machine/windows_machine'
require 'chef_metal/machine/unix_machine'
require 'chef_metal/convergence_strategy/install_msi'
require 'chef_metal/convergence_strategy/install_cached'
require 'chef_metal/transport/ssh'
require 'chef_metal_fog/version'
require 'fog'
require 'fog/core'
require 'fog/compute'
require 'fog/aws'

module ChefMetalFog
  # Provisions machines in vagrant.
  class FogProvisioner < ChefMetal::Provisioner

    include Chef::Mixin::ShellOut

    DEFAULT_OPTIONS = {
      :create_timeout => 600,
      :start_timeout => 600,
      :ssh_timeout => 20
    }

    def self.inflate(node)
      url = node['normal']['provisioner_output']['provisioner_url']
{'fraction_non_alphanumeric': 0.10247349823321555, 'fraction_numerical': 0.009422850412249705, 'mean_word_length': 5.715415019762846, 'pattern_counts': {'":': 0, '<': 5, '<?xml version=': 0, '>': 9, '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': '3853095', 'n_tokens_mistral': 626, 'n_tokens_neox': 568, 'n_words': 101}