Sha256: a981635ce73cf0645802ef2323e0f03c4590bbc2afcfcb451c833d4a9f5d617b
Contents?: true
Size: 947 Bytes
Versions: 5
Compression:
Stored size: 947 Bytes
Contents
<%# kind: job_template name: Install Errata - Katello SSH Default job_category: Katello description_format: 'Install errata %{Errata search query}' feature: katello_errata_install provider_type: SSH template_inputs: - name: Errata search query description: Filter criteria for errata to be installed. input_type: user required: false 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 %> <% advisory_ids = @host.advisory_ids(search: input("Errata search query")) %> <% advisories = advisory_ids.map { |e| "--advisory=#{e}" }.join(' ') %> <%= render_template('Package Action - SSH Default', :action => 'update-minimal', :package => advisories) %> <% end %>
Version data entries
5 entries across 5 versions & 1 rubygems