Sha256: 9c67bcfe1b96718115ef583d73f759038a72376e0f24b47d57f2f7d166435475

Contents?: true

Size: 267 Bytes

Versions: 2

Compression:

Stored size: 267 Bytes

Contents

module ForemanAnsible
  class FactImporter < ::FactImporter
    def fact_name_class
      ForemanAnsible::FactName
    end

    def initialize(host, facts = {})
      @host = host
      @facts = normalize(facts[:ansible_facts])
      @counters = {}
    end
  end
end

Version data entries

2 entries across 2 versions & 1 rubygems

Version Path
foreman_ansible-0.1.1 app/services/foreman_ansible/fact_importer.rb
foreman_ansible-0.1.0 app/services/foreman_ansible/fact_importer.rb