Sha256: d7aba1916f94ade7441772f7f14fda54ff274a155886efe9cb49c285e76f1486

Contents?: true

Size: 1.38 KB

Versions: 59

Compression:

Stored size: 1.38 KB

Contents

<%#
name: Puppet Module - Install from forge - Script 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: script
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

59 entries across 59 versions & 1 rubygems

Version Path
foreman_remote_execution-14.1.4 app/views/templates/script/puppet_install_modules_from_forge.erb
foreman_remote_execution-14.1.3 app/views/templates/script/puppet_install_modules_from_forge.erb
foreman_remote_execution-14.1.2 app/views/templates/script/puppet_install_modules_from_forge.erb
foreman_remote_execution-14.1.1 app/views/templates/script/puppet_install_modules_from_forge.erb
foreman_remote_execution-14.1.0 app/views/templates/script/puppet_install_modules_from_forge.erb
foreman_remote_execution-14.0.2 app/views/templates/script/puppet_install_modules_from_forge.erb
foreman_remote_execution-14.0.1 app/views/templates/script/puppet_install_modules_from_forge.erb
foreman_remote_execution-13.2.6 app/views/templates/script/puppet_install_modules_from_forge.erb
foreman_remote_execution-14.0.0 app/views/templates/script/puppet_install_modules_from_forge.erb
foreman_remote_execution-13.2.5 app/views/templates/script/puppet_install_modules_from_forge.erb
foreman_remote_execution-13.2.4 app/views/templates/script/puppet_install_modules_from_forge.erb
foreman_remote_execution-13.2.3 app/views/templates/script/puppet_install_modules_from_forge.erb
foreman_remote_execution-13.2.2 app/views/templates/script/puppet_install_modules_from_forge.erb
foreman_remote_execution-12.0.7 app/views/templates/script/puppet_install_modules_from_forge.erb
foreman_remote_execution-13.2.1 app/views/templates/script/puppet_install_modules_from_forge.erb
foreman_remote_execution-13.2.0 app/views/templates/script/puppet_install_modules_from_forge.erb
foreman_remote_execution-10.1.3 app/views/templates/script/puppet_install_modules_from_forge.erb
foreman_remote_execution-13.0.0 app/views/templates/script/puppet_install_modules_from_forge.erb
foreman_remote_execution-12.0.5 app/views/templates/script/puppet_install_modules_from_forge.erb
foreman_remote_execution-12.0.4 app/views/templates/script/puppet_install_modules_from_forge.erb