Project

General

Profile

Actions

Bug #21123

closed

Fact import code does not work

Added by Lukas Zapletal over 6 years ago. Updated over 6 years ago.

Status:
Closed
Priority:
High
Assignee:
Category:
Discovery plugin
Difficulty:
Triaged:
Fixed in Releases:
Found in Releases:

Description

Due to refactoring in core:

ArgumentError: wrong number of arguments (given 2, expected 3)
    app/models/host/base.rb:174:in `populate_fields_from_facts'
    /home/lzap/work/foreman_discovery/app/models/host/discovered.rb:89:in `populate_fields_from_facts'
    app/models/host/base.rb:157:in `parse_facts'
    app/models/host/base.rb:146:in `import_facts'
    /home/lzap/work/foreman_discovery/app/models/host/discovered.rb:74:in `import_facts'
    /home/lzap/work/foreman_discovery/app/models/host/discovered.rb:66:in `import_host'

Related issues 1 (0 open1 closed)

Related to Foreman - Refactor #15409: Refactor (puppet) facts out of host classes.ClosedShimon ShteinActions
Actions

Also available in: Atom PDF