cargomedia/puppet-packages — pull request #538 by ppp0 (2014-06-06 14:38:17+00:00)
Title: lvm specs fail

LVM specs use `/dev/sda5`, which is already mounted as swap partition.

Code:
```puppet
class {'lvm::install':
physicalDevice => '/dev/sda5',
volumeGroupName => 'vg01',
logicalVolumeName => 'storage01',
logicalVolumeSize => '50%',
logicalVolumeMountpoint => '/raid',
expandTools => true,
}
```

Error:
```
Notice: /Stage[main]/Lvm::Install/Helper::Script[install lvm]/Exec[exec install lvm]/returns: Can't open /dev/sda5 exclusively. Mounted filesystem?
Notice: /Stage[main]/Lvm::Install/Helper::Script[install lvm]/Exec[exec install lvm]/returns: No volume groups found
Notice: /Stage[main]/Lvm::Install/Helper::Script[install lvm]/Exec[exec install lvm]/returns: No physical volume label read from /dev/sda5
Notice: /Stage[main]/Lvm::Install/Helper::Script[install lvm]/Exec[exec install lvm]/returns: Can't open /dev/sda5 exclusively. Mounted filesystem?
Notice: /Stage[main]/Lvm::Install/Helper::Script[install lvm]/Exec[exec install lvm]/returns: Unable to add physical volume '/dev/sda5' to volume group 'vg01'.
Notice: /Stage[main]/Lvm::Install/Helper::Script[install lvm]/Exec[exec install lvm]/returns: No volume groups found
Notice: /Stage[main]/Lvm::Install/Helper::Script[install lvm]/Exec[exec install lvm]/returns: Volume group "vg01" not found
```

What was the idea here? What should `sda5` reference?