Defined Type: lvm::physical_volume

Defined in:
modules/lvm/manifests/physical_volume.pp

Overview

Define: lvm::physical_volume

Parameters:

  • ensure (Any) (defaults to: present)
  • force (Any) (defaults to: false)
  • unless_vg (Any) (defaults to: undef)


3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
# File 'modules/lvm/manifests/physical_volume.pp', line 3

define lvm::physical_volume (
  $ensure     = present,
  $force      = false,
  $unless_vg  = undef,
) {

  if ($name == undef) {
    fail("lvm::physical_volume \$name can't be undefined")
  }

  physical_volume { $name:
    ensure    => $ensure,
    force     => $force,
    unless_vg => $unless_vg
  }

}