Revision 9dd00534
Added by Tom Caspy over 8 years ago
app/models/lookup_value.rb | ||
---|---|---|
validate :validate_value, :ensure_fqdn_exists, :ensure_hostgroup_exists
|
||
|
||
attr_accessor :host_or_hostgroup
|
||
attr_writer :managed_id, :hostgroup_id
|
||
|
||
serialize :value
|
||
attr_name :match
|
Also available in: Unified diff
fixes #11425 - adding lookup_value_matcher to host and hostgroup to make db schema more logical