Skip to content

Fix $subscribe overloading#490

Merged
bastelfreak merged 1 commit intovoxpupuli:masterfrom
SearchLightNZ:fix_requirements_subscribe
May 30, 2019
Merged

Fix $subscribe overloading#490
bastelfreak merged 1 commit intovoxpupuli:masterfrom
SearchLightNZ:fix_requirements_subscribe

Conversation

@nward
Copy link
Copy Markdown

@nward nward commented May 30, 2019

Pull Request (PR) description

In python::requirements, we simply rename $subscribe to $local_subscribe, to prevent it being redefined. This is a puppet metaparameter so should not be used as a variable within in a define.

This Pull Request (PR) fixes the following issues

Fixes #470

@bastelfreak
Copy link
Copy Markdown
Member

Thanks for the fix @nward !

@bastelfreak bastelfreak added the bug Something isn't working label May 30, 2019
@bastelfreak bastelfreak merged commit 374abf8 into voxpupuli:master May 30, 2019
Comment thread manifests/requirements.pp
cwd => $cwd,
user => $owner,
subscribe => $subscribe,
subscribe => $local_subscribe,
Copy link
Copy Markdown

Choose a reason for hiding this comment

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

Correct me if Im wrong, it sounds impossible to set subscribe when I want $manage_requirements == false.

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

Labels

bug Something isn't working

Projects

None yet

Development

Successfully merging this pull request may close these issues.

Variable $subscribe shoud not be overwritten

3 participants