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

Default web_config_owner/group correctly #313

Merged
merged 1 commit into from
Dec 7, 2016

Conversation

alexjfisher
Copy link
Member

When apache hasn't been evaluated getvar('::apache::user') should
return undef.

This commit attempts to address 2 issues.

  1. In puppet 4 '' (empty string) != undef
  2. In stdlib < 4.13.0 instead of undef, getvar('::apache::user')
    returns a literal string 'class ::apache has not been evaluated'. This
    is a bug that was fixed, but it's not too hard to work around.

@alexjfisher
Copy link
Member Author

This fixes #312

@alexjfisher alexjfisher changed the title Default web_config_owner/group correctly NO NOT MERGE:Default web_config_owner/group correctly Nov 24, 2016
@alexjfisher alexjfisher changed the title NO NOT MERGE:Default web_config_owner/group correctly DO NOT MERGE:Default web_config_owner/group correctly Nov 24, 2016
@alexjfisher alexjfisher changed the title DO NOT MERGE:Default web_config_owner/group correctly Default web_config_owner/group correctly Nov 24, 2016
When apache hasn't been evaluated `getvar('::apache::user')` should
return `undef`.

This commit attempts to address 2 issues.

1) In puppet 4 `''` (empty string) != `undef`
2) In stdlib < 4.13.0 instead of `undef`, `getvar('::apache::user')`
returns a literal string `'class ::apache has not been evaluated'`. This
is a bug that was fixed, but it's not too hard to work around.
@bastelfreak bastelfreak merged commit 695a213 into voxpupuli:master Dec 7, 2016
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.

3 participants