Lint fixes

This commit is contained in:
Ossi Salmi 2015-05-04 11:03:26 +03:00
parent 96fb1bacbc
commit f70c8572a5
18 changed files with 71 additions and 43 deletions

View file

@ -9,7 +9,7 @@
#
class selinux {
if $kernel != "Linux" {
if $::kernel != "Linux" {
fail("SELinux supported only on Linux systems")
}
@ -162,7 +162,7 @@ class selinux::restorecond {
group => "root",
seltype => "selinux_config_t",
source => [
"puppet:///files/selinux/restorecond.conf.${homename}",
"puppet:///files/selinux/restorecond.conf.${::homename}",
"puppet:///files/selinux/restorecond.conf",
"puppet:///modules/selinux/restorecond.conf",
],