Module: HammerCLIForemanDiscovery::DiscoveryReferences

Defined in:
lib/hammer_cli_foreman_discovery/discovery_references.rb

Class Method Summary collapse

Class Method Details

.hosts(dsl) ⇒ Object



4
5
6
7
8
9
10
# File 'lib/hammer_cli_foreman_discovery/discovery_references.rb', line 4

def self.hosts(dsl)
  dsl.build do
    collection :hosts, _("Hosts"), :numbered => false do
      custom_field Fields::Reference
    end
  end
end