Skip to content

Commit e25ebe5

Browse files
(voxpupuli#607) add 'listen.acl_users' to defined type
add 'listen.acl_users' to pool template
1 parent f89846c commit e25ebe5

File tree

2 files changed

+6
-0
lines changed

2 files changed

+6
-0
lines changed

manifests/fpm/pool.pp

+3
Original file line numberDiff line numberDiff line change
@@ -24,6 +24,8 @@
2424
#
2525
# [*listen_mode*]
2626
#
27+
# [*listen_acl_users*]
28+
#
2729
# [*user*]
2830
# The user that php-fpm should run as
2931
#
@@ -128,6 +130,7 @@
128130
$listen_owner = undef,
129131
$listen_group = undef,
130132
$listen_mode = undef,
133+
$listen_acl_users = undef,
131134
$user = $php::fpm::config::user,
132135
$group = $php::fpm::config::group,
133136
Optional[String[1]] $apparmor_hat = undef,

templates/fpm/pool.conf.erb

+3
Original file line numberDiff line numberDiff line change
@@ -38,6 +38,9 @@ listen.mode = <%= @listen_mode %>
3838
<% else -%>
3939
;listen.mode = 0660
4040
<% end -%>
41+
<% if @listen_acl_users -%>
42+
listen.acl_users = <%= @listen_acl_users %>
43+
<% end -%>
4144

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

0 commit comments

Comments
 (0)