Sha256: 02c895a49191e1f9993cabcdcd5962cb82bcf47b6dbba2c89743519fa868e507

Contents?: true

Size: 1.38 KB

Versions: 35

Compression:

Stored size: 1.38 KB

Contents

<%#
name: Puppet Module - Install from forge - SSH Default
model: JobTemplate
job_category: Puppet
description_format: Install Puppet Module "%{puppet_module}" from forge
snippet: false
template_inputs:
- name: puppet_module
  required: true
  input_type: user
  description: Full name of the module, e.g. "puppetlabs-stdlib".
  advanced: false
- name: target_dir
  required: false
  input_type: user
  description: The directory into which modules are installed, defaults to production environment.
  advanced: false
- name: version
  required: false
  input_type: user
  description: Module version to install.
  advanced: true
- name: force
  required: false
  input_type: user
  description: Force overwrite of existing module, if any. Type "true" to force.
  advanced: true
- name: ignore_dependencies
  required: false
  input_type: user
  description: Do not attempt to install dependencies. Type "true" to ignore dependencies.
  advanced: true
provider_type: SSH
kind: job_template
-%>
<% if @host.operatingsystem.family == 'Debian' -%>
export PATH=/opt/puppetlabs/bin:$PATH
<% end -%>
puppet module install <%= input('puppet_module') %> <%= "--target-dir #{input('target_dir')}" if input('target_dir').present? %> <%= "--version #{input('version')}" if input('version').present? %> <%= "--force" if input('force') == "true" %> <%= "--ignore-dependencies" if input('ignore_dependencies') == "true" %>

Version data entries

35 entries across 35 versions & 1 rubygems

Version Path
foreman_remote_execution-5.0.8 app/views/templates/ssh/puppet_install_modules_from_forge.erb
foreman_remote_execution-5.0.7 app/views/templates/ssh/puppet_install_modules_from_forge.erb
foreman_remote_execution-5.0.6 app/views/templates/ssh/puppet_install_modules_from_forge.erb
foreman_remote_execution-5.0.5 app/views/templates/ssh/puppet_install_modules_from_forge.erb
foreman_remote_execution-5.0.4 app/views/templates/ssh/puppet_install_modules_from_forge.erb
foreman_remote_execution-5.0.3 app/views/templates/ssh/puppet_install_modules_from_forge.erb
foreman_remote_execution-6.0.0 app/views/templates/ssh/puppet_install_modules_from_forge.erb
foreman_remote_execution-5.0.2 app/views/templates/ssh/puppet_install_modules_from_forge.erb
foreman_remote_execution-5.1.0 app/views/templates/ssh/puppet_install_modules_from_forge.erb
foreman_remote_execution-5.0.1 app/views/templates/ssh/puppet_install_modules_from_forge.erb
foreman_remote_execution-5.0.0 app/views/templates/ssh/puppet_install_modules_from_forge.erb
foreman_remote_execution-4.8.0 app/views/templates/ssh/puppet_install_modules_from_forge.erb
foreman_remote_execution-4.5.6 app/views/templates/ssh/puppet_install_modules_from_forge.erb
foreman_remote_execution-4.5.5 app/views/templates/ssh/puppet_install_modules_from_forge.erb
foreman_remote_execution-4.5.4 app/views/templates/ssh/puppet_install_modules_from_forge.erb
foreman_remote_execution-4.7.0 app/views/templates/ssh/puppet_install_modules_from_forge.erb
foreman_remote_execution-4.5.3 app/views/templates/ssh/puppet_install_modules_from_forge.erb
foreman_remote_execution-4.5.2 app/views/templates/ssh/puppet_install_modules_from_forge.erb
foreman_remote_execution-4.5.1 app/views/templates/ssh/puppet_install_modules_from_forge.erb
foreman_remote_execution-4.6.0 app/views/templates/ssh/puppet_install_modules_from_forge.erb