Skip to content

Commit e42458d

Browse files
(voxpupuli#607) add 'listen.acl_groups' to defined type
add 'listen.acl_groups' to pool template
1 parent 6db46a0 commit e42458d

File tree

2 files changed

+7
-0
lines changed

2 files changed

+7
-0
lines changed

manifests/fpm/pool.pp

+4
Original file line numberDiff line numberDiff line change
@@ -29,6 +29,9 @@
2929
# When set, listen.owner and listen.group are ignored. Value is a comma separated
3030
# list of user names.
3131
#
32+
# [*listen_acl_groups*]
33+
# See listen_acl_users. Value is a comma separated list of group names.
34+
#
3235
# [*user*]
3336
# The user that php-fpm should run as
3437
#
@@ -134,6 +137,7 @@
134137
$listen_group = undef,
135138
$listen_mode = undef,
136139
$listen_acl_users = undef,
140+
$listen_acl_groups = undef,
137141
$user = $php::fpm::config::user,
138142
$group = $php::fpm::config::group,
139143
Optional[String[1]] $apparmor_hat = undef,

templates/fpm/pool.conf.erb

+3
Original file line numberDiff line numberDiff line change
@@ -41,6 +41,9 @@ listen.mode = <%= @listen_mode %>
4141
<% if @listen_acl_users -%>
4242
listen.acl_users = <%= @listen_acl_users %>
4343
<% end -%>
44+
<% if @listen_acl_groups -%>
45+
listen.acl_groups = <%= @listen_acl_groups %>
46+
<% end -%>
4447

4548
; Unix user/group of processes
4649
; Note: The user is mandatory. If the group is not set, the default user's group

0 commit comments

Comments
 (0)