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.13.0 lib/katello/tasks/import_applicability.rake
katello-3.13.0.rc2.1 lib/katello/tasks/import_applicability.rake
katello-3.13.0.rc2 lib/katello/tasks/import_applicability.rake
katello-3.12.3 lib/katello/tasks/import_applicability.rake
katello-3.12.2 lib/katello/tasks/import_applicability.rake
katello-3.13.0.rc1 lib/katello/tasks/import_applicability.rake
katello-3.12.1 lib/katello/tasks/import_applicability.rake
katello-3.11.2 lib/katello/tasks/import_applicability.rake
katello-3.10.2 lib/katello/tasks/import_applicability.rake
katello-3.12.0 lib/katello/tasks/import_applicability.rake
katello-3.12.0.rc2 lib/katello/tasks/import_applicability.rake
katello-3.10.1.1 lib/katello/tasks/import_applicability.rake
katello-3.12.0.rc1 lib/katello/tasks/import_applicability.rake
katello-3.10.1 lib/katello/tasks/import_applicability.rake
katello-3.11.1 lib/katello/tasks/import_applicability.rake
katello-3.11.0 lib/katello/tasks/import_applicability.rake
katello-3.11.0.rc2 lib/katello/tasks/import_applicability.rake
katello-3.11.0.rc1 lib/katello/tasks/import_applicability.rake
katello-3.10.0 lib/katello/tasks/import_applicability.rake
katello-3.10.0.rc1.1 lib/katello/tasks/import_applicability.rake