Sha256: e073409054d218b7baa1dbdbdcd4cd40b29777a25ea676222f1ed44f1d09e3a8

Contents?: true

Size: 496 Bytes

Versions: 29

Compression:

Stored size: 496 Bytes

Contents

<%#
name: Puppet Agent Disable - SSH Default
model: JobTemplate
job_category: Puppet
description_format: Disable Puppet agent
snippet: false
template_inputs:
- name: comment
  required: false
  input_type: user
  description: Reason for disabling the Puppet agent
  advanced: false
provider_type: SSH
kind: job_template
-%>
puppet agent --disable "<%= input("comment").present? ? input("comment") : "Disabled using Foreman Remote Execution"  %> - <%= current_user %> - $(date "+%d/%m/%Y %H:%M")"

Version data entries

29 entries across 29 versions & 1 rubygems

Version Path
foreman_remote_execution-3.2.2 app/views/templates/ssh/puppet_agent_disable.erb
foreman_remote_execution-3.3.2 app/views/templates/ssh/puppet_agent_disable.erb
foreman_remote_execution-3.3.1 app/views/templates/ssh/puppet_agent_disable.erb
foreman_remote_execution-3.3.0 app/views/templates/ssh/puppet_agent_disable.erb
foreman_remote_execution-3.2.1 app/views/templates/ssh/puppet_agent_disable.erb
foreman_remote_execution-3.2.0 app/views/templates/ssh/puppet_agent_disable.erb
foreman_remote_execution-3.1.0 app/views/templates/ssh/puppet_agent_disable.erb
foreman_remote_execution-2.0.10 app/views/templates/ssh/puppet_agent_disable.erb
foreman_remote_execution-2.0.9 app/views/templates/ssh/puppet_agent_disable.erb
foreman_remote_execution-2.0.8 app/views/templates/ssh/puppet_agent_disable.erb
foreman_remote_execution-3.0.3 app/views/templates/ssh/puppet_agent_disable.erb
foreman_remote_execution-3.0.2 app/views/templates/ssh/puppet_agent_disable.erb
foreman_remote_execution-2.0.7 app/views/templates/ssh/puppet_agent_disable.erb
foreman_remote_execution-3.0.1 app/views/templates/ssh/puppet_agent_disable.erb
foreman_remote_execution-3.0.0 app/views/templates/ssh/puppet_agent_disable.erb
foreman_remote_execution-2.0.6 app/views/templates/ssh/puppet_agent_disable.erb
foreman_remote_execution-2.0.5 app/views/templates/ssh/puppet_agent_disable.erb
foreman_remote_execution-2.0.4 app/views/templates/ssh/puppet_agent_disable.erb
foreman_remote_execution-2.0.3 app/views/templates/ssh/puppet_agent_disable.erb
foreman_remote_execution-2.0.2 app/views/templates/ssh/puppet_agent_disable.erb