Sha256: 50f91b0c35d021c225fa9681af1a35b352a13ca0e6cef69db06c983073e0b211

Contents?: true

Size: 851 Bytes

Versions: 120

Compression:

Stored size: 851 Bytes

Contents

<%#
kind: job_template
name: Install Errata - Katello SSH Default
job_category: Katello
description_format: 'Install errata %{errata}'
feature: katello_errata_install
provider_type: SSH
template_inputs:
- name: errata
  description: A comma separated list of errata to install
  input_type: user
  required: true
foreign_input_sets:
- template: Package Action - SSH Default
  exclude: action,package
%>

<% if @host.operatingsystem.family == 'Suse' -%>
    <% advisories = input(:errata).split(',').join(' ') %>
    <%= render_template('Package Action - SSH Default', :action => 'install -n -t patch', :package => advisories) %>
<% else %>
    <% advisories = input(:errata).split(',').map { |e| "--advisory=#{e}" }.join(' ') %>
    <%= render_template('Package Action - SSH Default', :action => 'update-minimal', :package => advisories) %>
<% end %>

Version data entries

120 entries across 120 versions & 1 rubygems

Version Path
katello-4.2.2 app/views/foreman/job_templates/install_errata.erb
katello-4.3.0.rc1 app/views/foreman/job_templates/install_errata.erb
katello-4.2.1 app/views/foreman/job_templates/install_errata.erb
katello-4.2.0.1 app/views/foreman/job_templates/install_errata.erb
katello-4.1.4 app/views/foreman/job_templates/install_errata.erb
katello-4.0.3 app/views/foreman/job_templates/install_errata.erb
katello-4.2.0.1.rc3 app/views/foreman/job_templates/install_errata.erb
katello-3.18.5 app/views/foreman/job_templates/install_errata.erb
katello-4.2.0.1.rc2 app/views/foreman/job_templates/install_errata.erb
katello-4.2.0.rc2 app/views/foreman/job_templates/install_errata.erb
katello-4.1.3 app/views/foreman/job_templates/install_errata.erb
katello-4.2.0.rc1 app/views/foreman/job_templates/install_errata.erb
katello-4.0.2.1 app/views/foreman/job_templates/install_errata.erb
katello-4.1.2.1 app/views/foreman/job_templates/install_errata.erb
katello-4.0.2 app/views/foreman/job_templates/install_errata.erb
katello-4.1.2 app/views/foreman/job_templates/install_errata.erb
katello-3.18.4 app/views/foreman/job_templates/install_errata.erb
katello-4.1.1 app/views/foreman/job_templates/install_errata.erb
katello-4.1.0 app/views/foreman/job_templates/install_errata.erb
katello-4.0.1.2 app/views/foreman/job_templates/install_errata.erb