Sha256: 232be0151b4bdf67279cdcd509ea335357102556fbd83b3a09611c68dc7d92c3

Contents?: true

Size: 462 Bytes

Versions: 44

Compression:

Stored size: 462 Bytes

Contents

namespace :katello do
  namespace :upgrades do
    namespace '3.12' do
      desc "removes the unused pulp2 notifier"
      task :remove_pulp2_notifier => %w(environment) do
        SmartProxy.pulp_master!.pulp_api.resources.event_notifier.list.each do |notifier|
          Rails.logger.info("Deleting notifier #{notifier['id']}")
          SmartProxy.pulp_master!.pulp_api.resources.event_notifier.delete(notifier['id'])
        end
      end
    end
  end
end

Version data entries

44 entries across 44 versions & 1 rubygems

Version Path
katello-3.16.2 lib/katello/tasks/upgrades/3.12/remove_pulp2_notifier.rake
katello-3.16.1.2 lib/katello/tasks/upgrades/3.12/remove_pulp2_notifier.rake
katello-3.16.1.1 lib/katello/tasks/upgrades/3.12/remove_pulp2_notifier.rake
katello-3.16.1 lib/katello/tasks/upgrades/3.12/remove_pulp2_notifier.rake
katello-3.17.0.rc1 lib/katello/tasks/upgrades/3.12/remove_pulp2_notifier.rake
katello-3.16.0 lib/katello/tasks/upgrades/3.12/remove_pulp2_notifier.rake
katello-3.16.0.rc5.1 lib/katello/tasks/upgrades/3.12/remove_pulp2_notifier.rake
katello-3.16.0.rc5 lib/katello/tasks/upgrades/3.12/remove_pulp2_notifier.rake
katello-3.16.0.rc4.1 lib/katello/tasks/upgrades/3.12/remove_pulp2_notifier.rake
katello-3.15.3.1 lib/katello/tasks/upgrades/3.12/remove_pulp2_notifier.rake
katello-3.15.3 lib/katello/tasks/upgrades/3.12/remove_pulp2_notifier.rake
katello-3.16.0.rc4 lib/katello/tasks/upgrades/3.12/remove_pulp2_notifier.rake
katello-3.16.0.rc3.1 lib/katello/tasks/upgrades/3.12/remove_pulp2_notifier.rake
katello-3.15.2 lib/katello/tasks/upgrades/3.12/remove_pulp2_notifier.rake
katello-3.16.0.rc3 lib/katello/tasks/upgrades/3.12/remove_pulp2_notifier.rake
katello-3.16.0.rc2.1 lib/katello/tasks/upgrades/3.12/remove_pulp2_notifier.rake
katello-3.16.0.rc2 lib/katello/tasks/upgrades/3.12/remove_pulp2_notifier.rake
katello-3.15.1.1 lib/katello/tasks/upgrades/3.12/remove_pulp2_notifier.rake
katello-3.16.0.rc1.1 lib/katello/tasks/upgrades/3.12/remove_pulp2_notifier.rake
katello-3.15.1 lib/katello/tasks/upgrades/3.12/remove_pulp2_notifier.rake