Revision 91549be9
Added by Ohad Levy almost 14 years ago
- ID 91549be97cb25332c28c63e3280e904b8547e1f4
app/models/host.rb | ||
---|---|---|
end
|
||
|
||
def classes_from_storeconfigs
|
||
klasses = resources.find(:all, :conditions => {:restype => "Class"}, :select => :title)
|
||
klasses = resources.find(:all, :conditions => {:restype => "Class"}, :select => :title, :order => :title)
|
||
klasses.map!(&:title).delete(:main)
|
||
return klasses
|
||
end
|
Also available in: Unified diff
fixes #264 - Overview of host's puppet classes should be sorted