Puppet Class: psick::multipath

Defined in:
manifests/multipath.pp

Overview

This class installs and configures multipath (only on physical servers)

Parameters:

  • config_file_template (String) (defaults to: 'psick/multipath/multipath.conf.erb')

    The path of the erb template to use for the content of /etc/multipath.conf. If empty the file is not managed.

  • user_friendly_names (String) (defaults to: 'yes')

    Defines the content of the user_friendly_names entry in multipath.conf



9
10
11
12
13
14
15
16
17
18
19
20
21
# File 'manifests/multipath.pp', line 9

class psick::multipath (
  String $config_file_template = 'psick/multipath/multipath.conf.erb',
  String $user_friendly_names  = 'yes',
) {

  if $config_file_template != '' and $::virtual == 'physical' {
    tp::conf { 'multipath':
      content => template($config_file_template),
    }
    tp::install { 'multipath': }
  }

}