Sha256: 807bbe17a32cd6b6ef2e4bcf7ce0157f2aa499861b327a579fdc08940f60e286

Contents?: true

Size: 865 Bytes

Versions: 26

Compression:

Stored size: 865 Bytes

Contents

<%#
kind: job_template
name: Install Errata - Katello Script Default
job_category: Katello
description_format: 'Install errata %{errata}'
feature: katello_errata_install
provider_type: script
template_inputs:
- name: errata
  description: A comma-separated list of errata to install
  input_type: user
  required: true
foreign_input_sets:
- template: Package Action - Script Default
  exclude: action,package
%>
<% if @host.operatingsystem.family == 'Suse' -%>
    <% advisories = input(:errata).split(',').join(' ') %>
    <%= render_template('Package Action - Script Default', :action => 'install -n -t patch', :package => advisories) %>
<% else %>
    <% advisories = input(:errata).split(',').map { |e| "--advisory=#{e}" }.join(' ') %>
    <%= render_template('Package Action - Script Default', :action => 'update-minimal', :package => advisories) %>
<% end %>

Version data entries

26 entries across 26 versions & 1 rubygems

Version Path
katello-4.8.4 app/views/foreman/job_templates/install_errata.erb
katello-4.8.3 app/views/foreman/job_templates/install_errata.erb
katello-4.7.6 app/views/foreman/job_templates/install_errata.erb
katello-4.8.2 app/views/foreman/job_templates/install_errata.erb
katello-4.8.1 app/views/foreman/job_templates/install_errata.erb
katello-4.7.5 app/views/foreman/job_templates/install_errata.erb
katello-4.8.0 app/views/foreman/job_templates/install_errata.erb
katello-4.8.0.rc2 app/views/foreman/job_templates/install_errata.erb
katello-4.7.4 app/views/foreman/job_templates/install_errata.erb
katello-4.8.0.rc1 app/views/foreman/job_templates/install_errata.erb
katello-4.7.3 app/views/foreman/job_templates/install_errata.erb
katello-4.7.2 app/views/foreman/job_templates/install_errata.erb
katello-4.7.1 app/views/foreman/job_templates/install_errata.erb
katello-4.6.2.1 app/views/foreman/job_templates/install_errata.erb
katello-4.6.2 app/views/foreman/job_templates/install_errata.erb
katello-4.7.0 app/views/foreman/job_templates/install_errata.erb
katello-4.6.1 app/views/foreman/job_templates/install_errata.erb
katello-4.7.0.rc2 app/views/foreman/job_templates/install_errata.erb
katello-4.7.0.rc1 app/views/foreman/job_templates/install_errata.erb
katello-4.5.1 app/views/foreman/job_templates/install_errata.erb