29 lines
1.0 KiB
ReStructuredText
29 lines
1.0 KiB
ReStructuredText
``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 <https://forge.puppet.com/modules/puppetlabs/lvm>`_.
|
|
|
|
|
|
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.
|