Revision af23cbd5
Added by Swapnil Abnave over 6 years ago
definitions/features/pulp.rb | ||
---|---|---|
class Features::Pulp < ForemanMaintain::Feature
|
||
metadata do
|
||
label :pulp
|
||
|
||
confine do
|
||
find_package('pulp-server')
|
||
end
|
||
end
|
||
end
|
definitions/procedures/sync_plans/disable.rb | ||
---|---|---|
for_feature :sync_plans
|
||
description 'disable active sync plans'
|
||
tags :pre_migrations
|
||
|
||
confine do
|
||
feature(:katello)
|
||
end
|
||
end
|
||
|
||
def run
|
definitions/procedures/sync_plans/enable.rb | ||
---|---|---|
description 're-enable sync plans'
|
||
tags :post_migrations
|
||
before :disk_io
|
||
|
||
confine do
|
||
feature(:katello)
|
||
end
|
||
end
|
||
|
||
def run
|
Also available in: Unified diff
Fixes #21589 - confine sync plans procedure to katello feature