Puppet Class: psick::multipath
- Defined in:
- manifests/multipath.pp
Overview
This class installs and configures multipath (only on physical servers)
9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 |
# File 'manifests/multipath.pp', line 9
class psick::multipath (
String $config_file_template = 'psick/multipath/multipath.conf.erb',
String $user_friendly_names = 'yes',
Boolean $manage = $psick::manage,
Boolean $noop_manage = $psick::noop_manage,
Boolean $noop_value = $psick::noop_value,
) {
if $manage {
if $noop_manage {
noop($noop_value)
}
if $config_file_template != '' and $facts['virtual'] == 'physical' {
tp::conf { 'multipath':
content => template($config_file_template),
}
tp::install { 'multipath': }
}
}
}
|