Revision d614feb8
Added by Stephen Benjamin almost 10 years ago
app/models/katello/concerns/redhat_extensions.rb | ||
---|---|---|
#TODO: handle multiple variants
|
||
filters = [{:terms => {:repoids => repo_ids}},
|
||
{:term => {:version => host.os.release}},
|
||
{:term => {:arch => host.arch.name}}]
|
||
{:term => {:arch => host.architecture.name}}]
|
||
distributions = Katello::Distribution.search do
|
||
filter :and, filters
|
||
end
|
Also available in: Unified diff
fixes #6853 - make host group provisioning work with katello