We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent e98de2a commit 3d84887Copy full SHA for 3d84887
manifests/init.pp
@@ -37,20 +37,13 @@
37
Array[ String[1] ] $required_pkgs,
38
) {
39
40
- include pam_access
+ include pam_access
41
42
### Make sure pam is installed
43
ensure_packages( $required_pkgs )
44
45
### Configure access.conf
46
47
- pam_access::entry { 'Default Allow':
48
- user => 'root',
49
- origin => 'LOCAL',
50
- permission => '+',
51
- position => 'before',
52
- }
53
-
54
pam_access::entry { 'Default Deny':
55
user => 'ALL',
56
origin => 'ALL',
@@ -75,6 +68,13 @@
75
68
'position' => 'before',
76
69
}
77
70
)
71
+ -> pam_access::entry { 'Default Allow':
72
+ user => 'root',
73
+ origin => 'LOCAL',
74
+ permission => '+',
+ position => 'before',
+ }
+
78
79
### Configure pam
80
ensure_resources( 'pam', $pam_config )
0 commit comments