Skip to content

Commit

Permalink
(voxpupuli#607) add 'listen.acl_groups' to defined type
Browse files Browse the repository at this point in the history
add 'listen.acl_groups' to pool template
  • Loading branch information
kengelhardt-godaddy committed Apr 28, 2021
1 parent 6db46a0 commit e42458d
Show file tree
Hide file tree
Showing 2 changed files with 7 additions and 0 deletions.
4 changes: 4 additions & 0 deletions manifests/fpm/pool.pp
Original file line number Diff line number Diff line change
Expand Up @@ -29,6 +29,9 @@
# When set, listen.owner and listen.group are ignored. Value is a comma separated
# list of user names.
#
# [*listen_acl_groups*]
# See listen_acl_users. Value is a comma separated list of group names.
#
# [*user*]
# The user that php-fpm should run as
#
Expand Down Expand Up @@ -134,6 +137,7 @@
$listen_group = undef,
$listen_mode = undef,
$listen_acl_users = undef,
$listen_acl_groups = 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 @@ -41,6 +41,9 @@ listen.mode = <%= @listen_mode %>
<% if @listen_acl_users -%>
listen.acl_users = <%= @listen_acl_users %>
<% end -%>
<% if @listen_acl_groups -%>
listen.acl_groups = <%= @listen_acl_groups %>
<% 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 e42458d

Please sign in to comment.