pam, resolver: Lint fixes
This commit is contained in:
parent
20c9094c53
commit
29ddb9c77d
2 changed files with 5 additions and 3 deletions
|
@ -19,6 +19,7 @@ class pam::common {
|
||||||
require => Package["libpam-runtime"],
|
require => Package["libpam-runtime"],
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
default: { }
|
||||||
}
|
}
|
||||||
|
|
||||||
}
|
}
|
||||||
|
@ -30,7 +31,7 @@ class pam::common {
|
||||||
# The user file-creation mask is set to mask. The default value of
|
# The user file-creation mask is set to mask. The default value of
|
||||||
# mask is 0077.
|
# mask is 0077.
|
||||||
#
|
#
|
||||||
class pam::mkhomedir ($umask=0077) {
|
class pam::mkhomedir($umask="0077") {
|
||||||
|
|
||||||
include pam::common
|
include pam::common
|
||||||
|
|
||||||
|
@ -62,6 +63,7 @@ class pam::mkhomedir ($umask=0077) {
|
||||||
notify => Exec["pam-auth-update"],
|
notify => Exec["pam-auth-update"],
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
default: { }
|
||||||
}
|
}
|
||||||
|
|
||||||
}
|
}
|
||||||
|
@ -79,11 +81,11 @@ class pam::mount($source) {
|
||||||
include pam::common
|
include pam::common
|
||||||
|
|
||||||
package { "pam_mount":
|
package { "pam_mount":
|
||||||
|
ensure => installed,
|
||||||
name => $::operatingsystem ? {
|
name => $::operatingsystem ? {
|
||||||
"ubuntu" => "libpam-mount",
|
"ubuntu" => "libpam-mount",
|
||||||
default => "pam_mount",
|
default => "pam_mount",
|
||||||
},
|
},
|
||||||
ensure => installed,
|
|
||||||
notify => Exec["pam-auth-update"],
|
notify => Exec["pam-auth-update"],
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
|
@ -25,7 +25,7 @@ class resolver($domainname = "", $searchpath = [], $nameservers) {
|
||||||
|
|
||||||
file { "/etc/resolv.conf":
|
file { "/etc/resolv.conf":
|
||||||
owner => "root",
|
owner => "root",
|
||||||
group => $::operatingsystem ? {
|
group => $::operatingsystem ? {
|
||||||
"openbsd" => "wheel",
|
"openbsd" => "wheel",
|
||||||
default => "root",
|
default => "root",
|
||||||
},
|
},
|
||||||
|
|
Loading…
Add table
Reference in a new issue