Sha256: a78a5006c157bdea062f7c6a911a345f0b791ddbee31d61e097ca1990ce84328

Contents?: true

Size: 585 Bytes

Versions: 110

Compression:

Stored size: 585 Bytes

Contents

<%#
kind: job_template
name: Restart Services - Katello SSH Default
job_category: Katello
description_format: 'Restart Services'
feature: katello_service_restart
provider_type: SSH
template_inputs:
- name: helper
  description: A comma separated list of commands to run to restart services
  input_type: user
  required: true
%>

<%
commands = input(:helper).split(',').map { |split| split.strip }
reboot = commands.delete('reboot')
-%>
<%= commands.join("\n") %>
katello-tracer-upload
<% if reboot -%>
<%= render_template('Power Action - SSH Default', action: 'restart') %>
<% end %>

Version data entries

110 entries across 110 versions & 1 rubygems

Version Path
katello-4.4.2.2 app/views/foreman/job_templates/restart_services.erb
katello-4.4.2.1 app/views/foreman/job_templates/restart_services.erb
katello-4.4.2 app/views/foreman/job_templates/restart_services.erb
katello-4.4.1 app/views/foreman/job_templates/restart_services.erb
katello-4.4.0.2 app/views/foreman/job_templates/restart_services.erb
katello-4.4.0.1 app/views/foreman/job_templates/restart_services.erb
katello-4.3.1 app/views/foreman/job_templates/restart_services.erb
katello-4.4.0 app/views/foreman/job_templates/restart_services.erb
katello-4.4.0.rc2 app/views/foreman/job_templates/restart_services.erb
katello-4.4.0.rc1 app/views/foreman/job_templates/restart_services.erb
katello-4.2.2 app/views/foreman/job_templates/restart_services.erb
katello-4.3.0 app/views/foreman/job_templates/restart_services.erb
katello-4.3.0.rc4 app/views/foreman/job_templates/restart_services.erb
katello-4.3.0.rc3 app/views/foreman/job_templates/restart_services.erb
katello-4.3.0.rc2.1 app/views/foreman/job_templates/restart_services.erb
katello-4.3.0.rc2 app/views/foreman/job_templates/restart_services.erb
katello-4.3.0.rc1 app/views/foreman/job_templates/restart_services.erb
katello-4.2.1 app/views/foreman/job_templates/restart_services.erb
katello-4.2.0.1 app/views/foreman/job_templates/restart_services.erb
katello-4.1.4 app/views/foreman/job_templates/restart_services.erb