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-4.3.1 lib/katello/tasks/import_applicability.rake
katello-4.2.2 lib/katello/tasks/import_applicability.rake
katello-4.3.0 lib/katello/tasks/import_applicability.rake
katello-4.3.0.rc4 lib/katello/tasks/import_applicability.rake
katello-4.3.0.rc3 lib/katello/tasks/import_applicability.rake
katello-4.3.0.rc2.1 lib/katello/tasks/import_applicability.rake
katello-4.3.0.rc2 lib/katello/tasks/import_applicability.rake
katello-4.3.0.rc1 lib/katello/tasks/import_applicability.rake
katello-4.2.1 lib/katello/tasks/import_applicability.rake
katello-4.2.0.1 lib/katello/tasks/import_applicability.rake
katello-4.1.4 lib/katello/tasks/import_applicability.rake
katello-4.0.3 lib/katello/tasks/import_applicability.rake
katello-4.2.0.1.rc3 lib/katello/tasks/import_applicability.rake
katello-3.18.5 lib/katello/tasks/import_applicability.rake
katello-4.2.0.1.rc2 lib/katello/tasks/import_applicability.rake
katello-4.2.0.rc2 lib/katello/tasks/import_applicability.rake
katello-4.1.3 lib/katello/tasks/import_applicability.rake
katello-4.2.0.rc1 lib/katello/tasks/import_applicability.rake
katello-4.0.2.1 lib/katello/tasks/import_applicability.rake
katello-4.1.2.1 lib/katello/tasks/import_applicability.rake