Skip to content

Ensure value is a string for =~ comparison#342

Merged
ghoneycutt merged 1 commit intomasterfrom
ghoneycutt-patch-1
Dec 14, 2016
Merged

Ensure value is a string for =~ comparison#342
ghoneycutt merged 1 commit intomasterfrom
ghoneycutt-patch-1

Conversation

@ghoneycutt
Copy link
Copy Markdown
Member

No description provided.

@newbenji
Copy link
Copy Markdown

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
Copy Markdown
Member Author

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

@newbenji
Copy link
Copy Markdown

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

@ghoneycutt
Copy link
Copy Markdown
Member Author

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

@newbenji
Copy link
Copy Markdown

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