Class: ForemanAnsible::FactName

Inherits:
FactName
  • Object
show all
Defined in:
app/models/foreman_ansible/fact_name.rb

Overview

Define the class that fact names that come from Ansible should have It allows us to filter facts by origin, and also to display the origin in the fact values table (/fact_values)

Instance Method Summary collapse

Instance Method Details

#icon_pathObject



12
13
14
# File 'app/models/foreman_ansible/fact_name.rb', line 12

def icon_path
  'foreman_ansible/Ansible.png'
end

#originObject



8
9
10
# File 'app/models/foreman_ansible/fact_name.rb', line 8

def origin
  'Ansible'
end