Skip to content

Commit

Permalink
(voxpupuli#607) add 'listen.acl_users' to defined type
Browse files Browse the repository at this point in the history
add 'listen.acl_users' to pool template
  • Loading branch information
kengelhardt-godaddy committed Dec 1, 2020
1 parent b850252 commit 94cf691
Show file tree
Hide file tree
Showing 2 changed files with 6 additions and 0 deletions.
3 changes: 3 additions & 0 deletions manifests/fpm/pool.pp
Original file line number Diff line number Diff line change
Expand Up @@ -24,6 +24,8 @@
#
# [*listen_mode*]
#
# [*listen_acl_users*]
#
# [*user*]
# The user that php-fpm should run as
#
Expand Down Expand Up @@ -128,6 +130,7 @@
$listen_owner = undef,
$listen_group = undef,
$listen_mode = undef,
$listen_acl_users = undef,
$user = $php::fpm::config::user,
$group = $php::fpm::config::group,
Optional[String[1]] $apparmor_hat = undef,
Expand Down
3 changes: 3 additions & 0 deletions templates/fpm/pool.conf.erb
Original file line number Diff line number Diff line change
Expand Up @@ -38,6 +38,9 @@ listen.mode = <%= @listen_mode %>
<% else -%>
;listen.mode = 0660
<% end -%>
<% if @listen_acl_users -%>
listen.acl_users = <%= @listen_acl_users %>
<% end -%>

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

0 comments on commit 94cf691

Please sign in to comment.