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

Ensure value is a string for =~ comparison #342

Merged
merged 1 commit into from
Dec 14, 2016
Merged

Conversation

ghoneycutt
Copy link
Member

No description provided.

@newbenji
Copy link

ah makes another problem

Error: Execution of '/bin/yum -d 0 -e 0 -y install ' returned 1: Error: Nothing to do
Error: /Stage[main]/Python::Install/Package[python]/ensure: change from purged to present failed: Execution of '/bin/yum -d 0 -e 0 -y install ' returned 1: Error: Nothing to do
Warning: /Stage[main]/Python::Install/Package[virtualenv]: Skipping because of failed dependencies
Warning: /Stage[main]/Python::Install/Package[pip]: Skipping because of failed dependencies
Error: Execution of '/bin/yum -d 0 -e 0 -y install -devel' returned 1: CRITICAL:yum.cli:Command line error: option -d: invalid integer value: 'evel'
Usage: yum [options] COMMAND

and the debug info
0;36mDebug: Packagepython: Ensuring => presentESC[0m
ESC[0;36mDebug: Executing: '/bin/yum -d 0 -e 0 -y install 'ESC[0m
ESC[mNotice: /Stage[main]/Python::Install/Package[virtualenv]: Dependency Package[python] has failures: trueESC[0m
ESC[0;36mDebug: /Stage[main]/Python::Install/Package[virtualenv]: Resource is being skipped, unscheduling all eventsESC[0m
ESC[mNotice: /Stage[main]/Python::Install/Package[pip]: Dependency Package[python] has failures: trueESC[0m
ESC[0;36mDebug: /Stage[main]/Python::Install/Package[pip]: Resource is being skipped, unscheduling all eventsESC[0m
ESC[0;36mDebug: Executing: '/bin/rpm -q -devel --nosignature --nodigest --qf %{NAME} %|EPOCH?{%{EPOCH}}:{0}| %{VERSION} %{RELEASE} %{ARCH}\n'ESC[0m
ESC[0;36mDebug: Executing: '/bin/rpm -q -devel --nosignature --nodigest --qf %{NAME} %|EPOCH?{%{EPOCH}}:{0}| %{VERSION} %{RELEASE} %{ARCH}\n --whatprovides'ESC[0m
ESC[0;36mDebug: Packagepython-dev: Ensuring => presentESC[0m
ESC[0;36mDebug: Executing: '/bin/yum -d 0 -e 0 -y install -devel'ESC[0m
ESC[0;36mDebug: Class[Python::Install]: Resource is being skipped, unscheduling all eventsESC[0m

@ghoneycutt
Copy link
Member Author

Got this passing our tests. Could someone functionally test this change?

@newbenji
Copy link

Well the newest module version is working for me again on centos

@ghoneycutt
Copy link
Member Author

Hi @newbenji Could you test this fork with python3 to ensure it works before I merge it

@newbenji
Copy link

i tested it before and i know its working.
The main reason for my error was faulty detection of python i think. so this was just a symptom.
i tried the 1.8.2 today and it worked
29aa2f3
think this commit did it

@ghoneycutt ghoneycutt merged commit 0a03cf2 into master Dec 14, 2016
@ghoneycutt ghoneycutt deleted the ghoneycutt-patch-1 branch December 14, 2016 21:59
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 this pull request may close these issues.

2 participants