Sha256: fd390d33fbf09bb6f3114d985d1994bd0ff6e6a093cd8f982344bcd2e74a6b64

Contents?: true

Size: 487 Bytes

Versions: 37

Compression:

Stored size: 487 Bytes

Contents

# frozen_string_literal: true

blueprints = [
  {
    :group => N_('Jobs'),
    :name => 'insights_remediation_successful',
    :message => N_('Insights remediation on %{hosts_count}' \
                   ' host(s) has finished successfully'),
    :level => 'success',
    :actions => {
      :links => [
        :path_method => :job_invocation_path,
        :title => N_('Job Details')
      ]
    }
  }
]

blueprints.each { |blueprint| UINotifications::Seed.new(blueprint).configure }

Version data entries

37 entries across 37 versions & 1 rubygems

Version Path
foreman_ansible-6.2.0 db/seeds.d/90_notification_blueprints.rb
foreman_ansible-6.1.1 db/seeds.d/90_notification_blueprints.rb
foreman_ansible-6.0.2 db/seeds.d/90_notification_blueprints.rb
foreman_ansible-6.1.0 db/seeds.d/90_notification_blueprints.rb
foreman_ansible-6.0.1 db/seeds.d/90_notification_blueprints.rb
foreman_ansible-5.1.3 db/seeds.d/90_notification_blueprints.rb
foreman_ansible-6.0.0 db/seeds.d/90_notification_blueprints.rb
foreman_ansible-5.1.2 db/seeds.d/90_notification_blueprints.rb
foreman_ansible-5.1.1 db/seeds.d/90_notification_blueprints.rb
foreman_ansible-5.1.0 db/seeds.d/90_notification_blueprints.rb
foreman_ansible-4.0.3.5 db/seeds.d/90_notification_blueprints.rb
foreman_ansible-4.0.3.4 db/seeds.d/90_notification_blueprints.rb
foreman_ansible-4.0.3.3 db/seeds.d/90_notification_blueprints.rb
foreman_ansible-4.0.3.2 db/seeds.d/90_notification_blueprints.rb
foreman_ansible-5.0.1 db/seeds.d/90_notification_blueprints.rb
foreman_ansible-4.0.5 db/seeds.d/90_notification_blueprints.rb
foreman_ansible-4.0.3.1 db/seeds.d/90_notification_blueprints.rb
foreman_ansible-4.0.4 db/seeds.d/90_notification_blueprints.rb
foreman_ansible-5.0.0 db/seeds.d/90_notification_blueprints.rb
foreman_ansible-4.0.3 db/seeds.d/90_notification_blueprints.rb