<%# 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 %> <% advisories = input(:errata).split(',').map { |e| "--advisory=#{e}" }.join(' ') %> <%= render_template('Package Action - SSH Default', :action => 'update', :package => advisories) %>