3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
|
# File 'manifests/params.pp', line 3
class jenkins::params {
$swarm_version = '2.2'
$config_hash_defaults = {
'JAVA_OPTS' => { value => '-Djava.awt.headless=true -Djenkins.install.runSetupWizard=false' },
}
$default_plugins = [
'bouncycastle-api', # required by instance-identity
'credentials', # required by puppet_helper.groovy
'instance-identity', # implied by structs
'javax-activation-api', # implied by all plugin
'javax-mail-api', # implied by all plugins
'structs', # required by credentials plugin
]
case $facts['os']['family'] {
'Debian': {
$repo = true
$package_provider = 'dpkg'
}
'RedHat': {
$repo = true
$package_provider = 'rpm'
}
'Archlinux': {
$repo = false
$package_provider = 'pacman'
}
default: {
$repo = true
$package_provider = undef
}
}
}
|