-
-
Notifications
You must be signed in to change notification settings - Fork 268
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Change datatype of listen.?
parameters from String[1]
to Array[String[1]]
#621
base: master
Are you sure you want to change the base?
Conversation
add 'listen.acl_users' to pool template
Description copied from php-fpm configuration documentation at: https://www.php.net/manual/en/install.fpm.configuration.php
add 'listen.acl_groups' to pool template
@@ -186,6 +196,16 @@ | |||
default => $php::fpm::package, | |||
} | |||
|
|||
# 'php-fpm' expects a comma separated list of user names | |||
unless $listen_acl_users.empty { | |||
$real_listen_acl_users = join(flatten($listen_acl_users).unique, ",") |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
$real_listen_acl_users = join(flatten($listen_acl_users).unique, ",") | |
$real_listen_acl_users = join(flatten($listen_acl_users).unique, ',') |
|
||
# 'php-fpm' expects a comma separated list of group names | ||
unless $listen_acl_groups.empty { | ||
$real_listen_acl_groups = join(flatten($listen_acl_groups).unique, ",") |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
$real_listen_acl_groups = join(flatten($listen_acl_groups).unique, ",") | |
$real_listen_acl_groups = join(flatten($listen_acl_groups).unique, ',') |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
otherwise puppet-lint complains :)
Follow-up on #611 implementing
listen.?
parameters as arrays instead of strings.