Sha256: 902269fa6f613d653d96421055517db158210e10e2b4cd2bdd609d3a2be4d9b0

Contents?: true

Size: 385 Bytes

Versions: 71

Compression:

Stored size: 385 Bytes

Contents

namespace :katello do
  task :import_applicability => ["environment"] do
    Katello::Host::ContentFacet.find_each do |facet|
      facet.import_applicability
    rescue StandardError => exception
      puts _('Error importing applicability for %{name} - %{id}: %{message}') %
          {:name => facet.host.name, :id => facet.host.id, :message => exception.message}
    end
  end
end

Version data entries

71 entries across 71 versions & 1 rubygems

Version Path
katello-3.17.3 lib/katello/tasks/import_applicability.rake
katello-4.0.0.rc2 lib/katello/tasks/import_applicability.rake
katello-3.18.1.1 lib/katello/tasks/import_applicability.rake
katello-3.17.2 lib/katello/tasks/import_applicability.rake
katello-4.0.0.rc1 lib/katello/tasks/import_applicability.rake
katello-3.18.1 lib/katello/tasks/import_applicability.rake
katello-3.18.0 lib/katello/tasks/import_applicability.rake
katello-3.17.1 lib/katello/tasks/import_applicability.rake
katello-3.16.2 lib/katello/tasks/import_applicability.rake
katello-3.18.0.rc2.1 lib/katello/tasks/import_applicability.rake
katello-3.18.0.rc2 lib/katello/tasks/import_applicability.rake
katello-3.17.0 lib/katello/tasks/import_applicability.rake
katello-3.18.0.rc1 lib/katello/tasks/import_applicability.rake
katello-3.17.0.rc2.2 lib/katello/tasks/import_applicability.rake
katello-3.17.0.rc2.1 lib/katello/tasks/import_applicability.rake
katello-3.16.1.2 lib/katello/tasks/import_applicability.rake
katello-3.16.1.1 lib/katello/tasks/import_applicability.rake
katello-3.17.0.rc2 lib/katello/tasks/import_applicability.rake
katello-3.16.1 lib/katello/tasks/import_applicability.rake
katello-3.17.0.rc1 lib/katello/tasks/import_applicability.rake