Module: HammerCLIForemanDiscovery::CommonDiscoveryRuleUpdateOptions
- Included in:
- DiscoveryRule::CreateCommand, DiscoveryRule::UpdateCommand
- Defined in:
- lib/hammer_cli_foreman_discovery/discovery_rule.rb
Class Method Summary collapse
Class Method Details
.included(base) ⇒ Object
13 14 15 16 17 |
# File 'lib/hammer_cli_foreman_discovery/discovery_rule.rb', line 13 def self.included(base) base.option "--hosts-limit", "HOSTS_LIMIT", _("Enables to limit maximum amount of provisioned hosts per rule"), :attribute_name => :option_max_count base. :without => :max_count end |