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 a reassigned variable #497

Merged
merged 1 commit into from
Nov 26, 2019

Conversation

SaschaDoering
Copy link
Contributor

This occurred when $ensure was set to 'absent'. Then the variable used
for the title of the exec resource was assigned twice, resulting in an
error.

Pull Request (PR) description

I solved it via a variable to avoid having to set the title in several places.
Of course, I can also put the title of the exec resource into another variable if the syntax there looks too weird. Please let me know if I should do this.

This Pull Request (PR) fixes the following issues

Fixes #496

manifests/pip.pp Outdated Show resolved Hide resolved
@SaschaDoering SaschaDoering force-pushed the fix_reassigned_variable branch 2 times, most recently from 6099a38 to 19848a5 Compare November 26, 2019 11:56
@bastelfreak bastelfreak added the bug Something isn't working label Nov 26, 2019
manifests/pip.pp Outdated Show resolved Hide resolved
This occurred when $ensure was set to 'absent'. Then the variable used
for the title of the exec resource was assigned twice, resulting in an
error.
@SaschaDoering SaschaDoering force-pushed the fix_reassigned_variable branch from 19848a5 to 94d6218 Compare November 26, 2019 13:20
@baurmatt baurmatt merged commit 432708e into voxpupuli:master Nov 26, 2019
@crazymind1337 crazymind1337 deleted the fix_reassigned_variable branch January 13, 2020 09:33
@SaschaDoering SaschaDoering restored the fix_reassigned_variable branch January 16, 2020 10:41
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.

Python::Pip fails if $ensure='absent'
3 participants