Sha256: 8c0e458be8174a7369530f031082e9b88148aa4169684cf3c9f870b2a0d7e571

Contents?: true

Size: 415 Bytes

Versions: 83

Compression:

Stored size: 415 Bytes

Contents

namespace :katello do
  task :import_applicability => ["environment"] do
    Katello::Host::ContentFacet.find_each do |facet|
      begin
        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
end

Version data entries

83 entries across 83 versions & 1 rubygems

Version Path
katello-3.15.3.1 lib/katello/tasks/import_applicability.rake
katello-3.15.3 lib/katello/tasks/import_applicability.rake
katello-3.15.2 lib/katello/tasks/import_applicability.rake
katello-3.15.1.1 lib/katello/tasks/import_applicability.rake
katello-3.15.1 lib/katello/tasks/import_applicability.rake
katello-3.15.0.1 lib/katello/tasks/import_applicability.rake
katello-3.15.0 lib/katello/tasks/import_applicability.rake
katello-3.15.0.rc2 lib/katello/tasks/import_applicability.rake
katello-3.15.0.rc1.3 lib/katello/tasks/import_applicability.rake
katello-3.15.0.rc1.2 lib/katello/tasks/import_applicability.rake
katello-3.15.0.rc1.1 lib/katello/tasks/import_applicability.rake
katello-3.15.0.rc1 lib/katello/tasks/import_applicability.rake
katello-3.14.1 lib/katello/tasks/import_applicability.rake
katello-3.13.4 lib/katello/tasks/import_applicability.rake
katello-3.14.0 lib/katello/tasks/import_applicability.rake
katello-3.13.3 lib/katello/tasks/import_applicability.rake
katello-3.14.0.rc2 lib/katello/tasks/import_applicability.rake
katello-3.13.2 lib/katello/tasks/import_applicability.rake
katello-3.14.0.rc1 lib/katello/tasks/import_applicability.rake
katello-3.13.1 lib/katello/tasks/import_applicability.rake