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 $subscribe overloading #490

Merged

Conversation

nward
Copy link

@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
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
@@ -101,7 +101,7 @@
timeout => $timeout,
cwd => $cwd,
user => $owner,
subscribe => $subscribe,
subscribe => $local_subscribe,

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