Class: Actions::Katello::Repository::FilteredIndexContent
- Inherits:
-
EntryAction
- Object
- EntryAction
- Actions::Katello::Repository::FilteredIndexContent
- Defined in:
- app/lib/actions/katello/repository/filtered_index_content.rb
Instance Method Summary collapse
Instance Method Details
#run ⇒ Object
13 14 15 16 17 18 19 20 21 22 23 |
# File 'app/lib/actions/katello/repository/filtered_index_content.rb', line 13 def run repo = ::Katello::Repository.find(input[:id]) unit_ids = search_units(repo) if repo.puppet? repo.index_db_puppet_modules elsif repo.docker? repo.index_db_docker_manifests else ::Katello::Rpm.import_all(unit_ids, true) end end |