Skip to content

Change datatype of listen.? parameters from String[1] to Array[String[1]]#621

Draft
kBite wants to merge 6 commits into
voxpupuli:masterfrom
kBite:datatype-array
Draft

Change datatype of listen.? parameters from String[1] to Array[String[1]]#621
kBite wants to merge 6 commits into
voxpupuli:masterfrom
kBite:datatype-array

Conversation

@kBite

@kBite kBite commented Apr 28, 2021

Copy link
Copy Markdown

Follow-up on #611 implementing listen.? parameters as arrays instead of strings.

@kBite kBite requested a review from bastelfreak April 28, 2021 21:07
@kBite kBite marked this pull request as draft April 28, 2021 21:07
Comment thread manifests/fpm/pool.pp Outdated
Comment thread manifests/fpm/pool.pp

# '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, ",")

Copy link
Copy Markdown
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Suggested change
$real_listen_acl_users = join(flatten($listen_acl_users).unique, ",")
$real_listen_acl_users = join(flatten($listen_acl_users).unique, ',')

Comment thread manifests/fpm/pool.pp

# '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, ",")

Copy link
Copy Markdown
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Suggested change
$real_listen_acl_groups = join(flatten($listen_acl_groups).unique, ",")
$real_listen_acl_groups = join(flatten($listen_acl_groups).unique, ',')

Copy link
Copy Markdown
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

otherwise puppet-lint complains :)

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Projects

None yet

Development

Successfully merging this pull request may close these issues.

5 participants