Sha256: b0f7bdce227c9c3ff7687aa8d8e5b3e5a58648fca69d3242e1802d5a836ef329
Contents?: true
Size: 850 Bytes
Versions: 10
Compression:
Stored size: 850 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
10 entries across 10 versions & 1 rubygems