Class: Actions::Katello::Repository::CloneOstreeContent
- Inherits:
-
Base
- Object
- Base
- Actions::Katello::Repository::CloneOstreeContent
- Defined in:
- app/lib/actions/katello/repository/clone_ostree_content.rb
Instance Method Summary collapse
Instance Method Details
#plan(source_repo, target_repo) ⇒ Object
5 6 7 8 9 10 11 12 13 |
# File 'app/lib/actions/katello/repository/clone_ostree_content.rb', line 5 def plan(source_repo, target_repo) sequence do plan_action(Pulp::Repository::CopyOstreeBranch, source_pulp_id: source_repo.pulp_id, target_pulp_id: target_repo.pulp_id) plan_action(Katello::Repository::MetadataGenerate, target_repo) plan_action(Katello::Repository::IndexContent, id: target_repo.id) end end |