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

Python::Pip fails if $ensure='absent' #496

Closed
SaschaDoering opened this issue Jun 18, 2019 · 0 comments · Fixed by #497
Closed

Python::Pip fails if $ensure='absent' #496

SaschaDoering opened this issue Jun 18, 2019 · 0 comments · Fixed by #497

Comments

@SaschaDoering
Copy link
Contributor

SaschaDoering commented Jun 18, 2019

Affected Puppet, Ruby, OS and module versions/distributions

  • Puppet: 6.4.2
  • Ruby:
  • Distribution: Ubuntu
  • Module version: 3.0.1

How to reproduce (e.g Puppet code you use)

python::pip { 'PROGRAMM':
  ensure       => 'absent',
  pkgname      => 'PROGRAMM',
  pip_provider => 'pip',
  virtualenv   => '/opt/PROGRAMM',
}

What are you seeing

error during compilation: Evaluation Error: Error while evaluating a Resource Statement, Evaluation Error: Cannot reassign variable '$pip_exec_install'

This occurres in modules/python/manifests/pip.pp in line 224, column 27

What behaviour did you expect instead

A clean run without an error.

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 a pull request may close this issue.

1 participant