module HammerCLIForemanDiscovery::CommonDiscoveryRuleUpdateOptions

Public Class Methods

included(base) click to toggle source
# File lib/hammer_cli_foreman_discovery/discovery_rule.rb, line 11
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.build_options :without => :max_count
end