Puppet Class: lsys::hardening::bash_profile
- Defined in:
- manifests/hardening/bash_profile.pp
Summary
Ability for /etc/profile hardeningOverview
Ability for /etc/profile hardening
10 11 12 13 14 15 16 17 18 19 20 21 |
# File 'manifests/hardening/bash_profile.pp', line 10
class lsys::hardening::bash_profile (
Pattern[/[0-7]{3}/] $system_umask = '077',
) {
if $facts['os']['name'] in ['RedHat', 'CentOS'] {
$osmajor = $facts['os']['release']['major']
file { '/etc/profile' :
ensure => file,
content => template("lsys/hardening/profile.el${osmajor}.erb"),
}
}
}
|