Sha256: 6673e6529717707955a93d4726fa90aa6197fe6c9eabef36f7ab8fa9b0c598b5

Contents?: true

Size: 497 Bytes

Versions: 2

Compression:

Stored size: 497 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

2 entries across 2 versions & 1 rubygems

Version Path
foreman_ansible-2.3.1 db/seeds.d/90_notification_blueprints.rb
foreman_ansible-2.3.0 db/seeds.d/90_notification_blueprints.rb