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.9.1 lib/katello/tasks/import_applicability.rake
katello-3.10.0.rc1 lib/katello/tasks/import_applicability.rake
katello-3.9.0 lib/katello/tasks/import_applicability.rake
katello-3.8.1 lib/katello/tasks/import_applicability.rake
katello-3.9.0.rc2 lib/katello/tasks/import_applicability.rake
katello-3.9.0.rc1 lib/katello/tasks/import_applicability.rake
katello-3.7.1.1 lib/katello/tasks/import_applicability.rake
katello-3.7.1 lib/katello/tasks/import_applicability.rake
katello-3.8.0 lib/katello/tasks/import_applicability.rake
katello-3.8.0.rc3 lib/katello/tasks/import_applicability.rake
katello-3.8.0.rc2 lib/katello/tasks/import_applicability.rake
katello-3.7.0 lib/katello/tasks/import_applicability.rake
katello-3.8.0.rc1 lib/katello/tasks/import_applicability.rake
katello-3.7.0.rc2 lib/katello/tasks/import_applicability.rake
katello-3.7.0.rc1 lib/katello/tasks/import_applicability.rake
katello-3.5.2 lib/katello/tasks/import_applicability.rake
katello-3.6.0 lib/katello/tasks/import_applicability.rake
katello-3.6.0.1.rc2 lib/katello/tasks/import_applicability.rake
katello-3.6.0.rc2 lib/katello/tasks/import_applicability.rake
katello-3.6.0.rc1 lib/katello/tasks/import_applicability.rake