Parámetros

Nombre del parámetro Descripción
discovery_rule
opcional , nil permitido

Value:

Must be a Hash

discovery_rule[name]
requerido

represents rule name shown to the users


Value:

Must be String

discovery_rule[search]
requerido

query to match discovered hosts for the particular rule


Value:

Must be String

discovery_rule[hostgroup_id]
requerido

the hostgroup that is used to auto provision a host


Value:

Must be Integer

discovery_rule[hostname]
opcional , nil permitido

defines a pattern to assign human-readable hostnames to the matching hosts


Value:

Must be String

discovery_rule[max_count]
opcional , nil permitido

enables to limit maximum amount of provisioned hosts per rule


Value:

Must be Integer

discovery_rule[priority]
opcional , nil permitido

puts the rules in order, low numbers go first. Must be greater then zero


Value:

Must be Integer

discovery_rule[enabled]
opcional , nil permitido

flag is used for temporary shutdown of rules


Value:

Must be ‘true’ or ‘false’