1.0 KiB
1.0 KiB
profile::vgroot
This module allows to resize logical volumes/partitions on the
default volume group vg_root.
If you alternatively want to control the full volume group or add an additional one, please configure in Hiera the lvm Puppet module.
Parameters
| Name | Type | Default |
|---|---|---|
| vgroot | hash | hiera_hash('vgroot::path') |
vgroot
A hash containing as key the name of the volume group
(/dev/mapper/vg_root-$NAME) to be adjusted and the volume
size as value:
vgroot::path:
lv_root: 20GB
lv_var: 10GB
The contained file system will then automatically resized if needed.