diff --git a/admin-guide/puppet/modules.rst b/admin-guide/puppet/modules.rst index 1cc425ef..18cba66d 100644 --- a/admin-guide/puppet/modules.rst +++ b/admin-guide/puppet/modules.rst @@ -243,6 +243,7 @@ Profiles profiles/ssh_server.rst profiles/sysinfo profiles/telegraf + profiles/vgroot profiles/web_server diff --git a/admin-guide/puppet/profiles/vgroot.rst b/admin-guide/puppet/profiles/vgroot.rst new file mode 100644 index 00000000..dd5ef577 --- /dev/null +++ b/admin-guide/puppet/profiles/vgroot.rst @@ -0,0 +1,27 @@ +``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 + +The contained file system will then automatically resized if needed.