<commit_before>class ManageIQ::Providers::InfraManager::Template < MiqTemplate
  default_value_for :cloud, false

  def self.eligible_for_provisioning
    super.where(:type => %w(ManageIQ::Providers::Redhat::InfraManager::Template ManageIQ::Providers::Vmware::InfraManager::Template ManageIQ::Providers::Microsoft::InfraManager::Template))
  end

  private

  def raise_created_event
    MiqEvent.raise_evm_event(self, "vm_template", :vm => self, :host => host)<commit_msg>Declare Kubevirt's template as eligible for provision<commit_after>class ManageIQ::Providers::InfraManager::Template < MiqTemplate
  default_value_for :cloud, false

  def self.eligible_for_provisioning
    super.where(:type => %w(ManageIQ::Providers::Redhat::InfraManager::Template
                            ManageIQ::Providers::Vmware::InfraManager::Template
                            ManageIQ::Providers::Microsoft::InfraManager::Template
                            ManageIQ::Providers::Kubevirt::InfraManager::Template))
  end

  private

  def raise_created_event
    MiqEvent.raise_evm_event(self, "vm_template", :vm => self, :host => host)
{'fraction_non_alphanumeric': 0.11476868327402136, 'fraction_numerical': 0.0, 'mean_word_length': 4.921052631578948, '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': '3311002', 'n_tokens_mistral': 354, 'n_tokens_neox': 333, 'n_words': 50}