Sha256: fe80e36db53450be4be2006c2ee766696e507f0768fdc8139738a99c38c0c620

Contents?: true

Size: 869 Bytes

Versions: 20

Compression:

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

20 entries across 20 versions & 1 rubygems

Version Path
katello-4.13.1 app/views/foreman/job_templates/install_errata.erb
katello-4.13.0 app/views/foreman/job_templates/install_errata.erb
katello-4.12.1 app/views/foreman/job_templates/install_errata.erb
katello-4.13.0.rc1 app/views/foreman/job_templates/install_errata.erb
katello-4.12.0 app/views/foreman/job_templates/install_errata.erb
katello-4.12.0.rc3 app/views/foreman/job_templates/install_errata.erb
katello-4.12.0.rc2 app/views/foreman/job_templates/install_errata.erb
katello-4.12.0.rc1 app/views/foreman/job_templates/install_errata.erb
katello-4.11.1 app/views/foreman/job_templates/install_errata.erb
katello-4.11.0 app/views/foreman/job_templates/install_errata.erb
katello-4.11.0.rc2 app/views/foreman/job_templates/install_errata.erb
katello-4.11.0.rc1 app/views/foreman/job_templates/install_errata.erb
katello-4.10.0 app/views/foreman/job_templates/install_errata.erb
katello-4.9.2 app/views/foreman/job_templates/install_errata.erb
katello-4.10.0.rc2 app/views/foreman/job_templates/install_errata.erb
katello-4.10.0.rc1 app/views/foreman/job_templates/install_errata.erb
katello-4.9.1 app/views/foreman/job_templates/install_errata.erb
katello-4.9.0 app/views/foreman/job_templates/install_errata.erb
katello-4.9.0.rc2 app/views/foreman/job_templates/install_errata.erb
katello-4.9.0.rc1 app/views/foreman/job_templates/install_errata.erb