-
-
Notifications
You must be signed in to change notification settings - Fork 375
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
"undefined method []" in pip_version and virtualenv_version facts #527
Comments
wiebe
added a commit
to wiebe/puppet-python
that referenced
this issue
Jul 21, 2020
Partly fixes voxpupuli#527. Signed-off-by: Wiebe Verweij <[email protected]>
wiebe
added a commit
to wiebe/puppet-python
that referenced
this issue
Jul 21, 2020
Partially fixes voxpupuli#527 Signed-off-by: Wiebe Verweij <[email protected]>
wiebe
added a commit
to wiebe/puppet-python
that referenced
this issue
Jul 21, 2020
Partly fixes voxpupuli#527. Signed-off-by: Wiebe Verweij <[email protected]>
wiebe
added a commit
to wiebe/puppet-python
that referenced
this issue
Jul 21, 2020
Partially fixes voxpupuli#527 Signed-off-by: Wiebe Verweij <[email protected]>
russellshackleford
pushed a commit
to russellshackleford/puppet-python
that referenced
this issue
Sep 28, 2020
Partly fixes voxpupuli#527. Signed-off-by: Wiebe Verweij <[email protected]>
russellshackleford
pushed a commit
to russellshackleford/puppet-python
that referenced
this issue
Sep 28, 2020
Partially fixes voxpupuli#527 Signed-off-by: Wiebe Verweij <[email protected]>
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
We ran into a situation where
pip
andvirtualenv
were in the PATH on a particular system but referred to a non-existent python installation.In both cases the facts are generated by using a regex match against the stdout/stderr of the relevant commands. When the regex fails to produce a match it returns
nil
instead and of coursenil
doesn't have a[]
method.Affected Puppet, Ruby, OS and module versions/distributions
How to reproduce (e.g Puppet code you use)
Run puppet with the
python
module on a system with brokenpip
and/orvirtualenv
commands.What are you seeing
Errors:
What behaviour did you expect instead
The
pip_version
andvirtualenv_version
facts should benil
when their respective commands are broken.The text was updated successfully, but these errors were encountered: