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 "cannot redefine $real_settings" error #533

Merged
merged 1 commit into from
Sep 11, 2019
Merged

fix "cannot redefine $real_settings" error #533

merged 1 commit into from
Sep 11, 2019

Conversation

crispygoth
Copy link
Contributor

Pull Request (PR) description

Trying to use the apache_config class to apply settings to the apache
SAPI fails with an error caused by a duplicate variable definition:

Error while evaluating a Resource Statement, Evaluation Error: Cannot reassign variable '$real_settings' (file:
/etc/puppetlabs/code/environments/development/modules/php/manifests/apache_config.pp, line: 18, column: 18)

This Pull Request (PR) fixes the following issues

Trying to use the apache_config class to apply settings to the apache
SAPI fails with an error caused by a duplicate variable definition:

Error while evaluating a Resource Statement, Evaluation Error: Cannot reassign variable '$real_settings' (file:
/etc/puppetlabs/code/environments/development/modules/php/manifests/apache_config.pp, line: 18, column: 18)
@natemccurdy
Copy link
Contributor

natemccurdy commented Sep 11, 2019

This looks sane to me. Definitely a syntax error caused by the previous change to this file in #522

This manifest could use some tests though to prevent this from happening again. I'm going to merge this anyway though as master is currently broken.

@natemccurdy natemccurdy merged commit 66f1c1a into voxpupuli:master Sep 11, 2019
@crispygoth crispygoth deleted the fix_apache_config_error branch November 4, 2019 11:38
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

2 participants