Revision 8a65dff7
Added by Ohad Levy almost 13 years ago
- ID 8a65dff786359b268b4e5033790092e8c50f40cd
app/models/host.rb | ||
---|---|---|
belongs_to :model
|
||
belongs_to :domain
|
||
belongs_to :operatingsystem
|
||
has_and_belongs_to_many :puppetclasses
|
||
has_many :host_classes, :dependent => :destroy
|
||
has_many :puppetclasses, :through => :host_classes
|
||
belongs_to :environment
|
||
belongs_to :subnet
|
||
belongs_to :ptable
|
Also available in: Unified diff
fixes #777 - this enable auditing of when a host is changing its puppet class assignmetns
one limitation of this patch is that at the moment, each class change
gets its own audit record.