Skip to content
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

Fix behavior of php::packages::names_to_prefix #711

Open
wants to merge 1 commit into
base: master
Choose a base branch
from

Conversation

smokris
Copy link

@smokris smokris commented Mar 15, 2024

Pull Request (PR) description

The documentation for php::packages::names_to_prefix suggests that the module will add php::package_prefix to the beginning of the listed package names. However, since the prefix() function is in the parameter default, the prefix is only applied to the default value (php::params::common_package_suffixes) rather than to user-defined php::packages::names_to_prefix. This commit fixes that behavior, so that either the default or user-defined php::packages::names_to_prefix will have prefixes added by the module.

This Pull Request (PR) fixes the following issues

n/a

The documentation for php::packages::names_to_prefix suggests that
the module will add php::package_prefix to the beginning of the
listed package names.  However, since the prefix() function is in
the parameter default, the prefix is only applied to the default
value (php::params::common_package_suffixes) rather than to
user-defined php::packages::names_to_prefix.  This commit fixes
that behavior, so that either the default or user-defined
php::packages::names_to_prefix will have prefixes added by the
module.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

1 participant