Puppet Class: lsys::tools::storage
- Defined in:
- manifests/tools/storage.pp
Summary
Manage storage toolsOverview
Manage storage tools
7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 |
# File 'manifests/tools/storage.pp', line 7
class lsys::tools::storage (
Boolean $enable_hardening = false,
Bsys::PackageVersion $lvm2_ensure = true,
) {
# Logical volume management tools
bsys::tools::package { 'lvm2': ensure => $lvm2_ensure }
if $enable_hardening {
file {
default:
mode => 'o=',
;
# lvm2
'/usr/sbin/fsadm': ;
'/usr/sbin/lvm': ;
'/usr/sbin/lvmdump': ;
'/usr/sbin/lvmpolld': ;
}
}
}
|