Puppet Class: infiniband::params
- Inherited by:
-
infiniband
- Defined in:
-
manifests/params.pp
Summary
The infiniband default configuration settings.
Overview
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
|
# File 'manifests/params.pp', line 3
class infiniband::params {
case $::osfamily {
'RedHat': {
$rdma_service_name = 'rdma'
$rdma_service_has_status = true
$rdma_service_has_restart = true
$ibacm_service_name = 'ibacm'
$ibacm_service_has_status = true
$ibacm_service_has_restart = true
$rdma_conf_path = '/etc/rdma/rdma.conf'
}
default: {
fail("Unsupported osfamily: ${::osfamily}, module ${module_name} only supports osfamily RedHat")
}
}
# Set default service states based on has_infiniband fact value
case $::has_infiniband {
true : {
$service_ensure = 'running'
$service_enable = true
}
default : {
$service_ensure = 'stopped'
$service_enable = false
}
}
}
|