Puppet Class: jenkins::config

Defined in:
manifests/config.pp

Overview

Parameters: config_hash = {} (Default) Hash with config options to set in sysconfig/jenkins defaults/jenkins

Example use

class{ ‘jenkins::config’:

config_hash => {
  'HTTP_PORT' => { 'value' => '9090' }, 'AJP_PORT' => { 'value' => '9009' }
}

}



13
14
15
16
17
18
19
20
# File 'manifests/config.pp', line 13

class jenkins::config {

  if $caller_module_name != $module_name {
    fail("Use of private class ${name} by ${caller_module_name}")
  }

  create_resources( 'jenkins::sysconfig', $::jenkins::config_hash )
}