Description of problem: if you echo "$whatever" it's going to try to expand the variable 'whatever' which I don't believe to be the intent AwesomeSpawn.run!("/bin/echo \"#{@password}\" | /usr/bin/kinit #{@principal}") Can the double quotes replace it with single quotes AwesomeSpawn.run!("/bin/echo \'#{@password}\' | /usr/bin/kinit #{@principal}") Version-Release number of selected component (if applicable): 4.2 How reproducible: Steps to Reproduce: 1. 2. 3. Actual results: Expected results: Additional info:
https://github.com/ManageIQ/manageiq-gems-pending/pull/257
New commit detected on ManageIQ/manageiq-gems-pending/master: https://github.com/ManageIQ/manageiq-gems-pending/commit/71b068c825fc421f57c72e2c7415d4c3284a64d6 commit 71b068c825fc421f57c72e2c7415d4c3284a64d6 Author: Yuri Rudman <yrudman> AuthorDate: Tue Aug 8 17:07:29 2017 -0400 Commit: Yuri Rudman <yrudman> CommitDate: Fri Aug 11 10:44:42 2017 -0400 having '$' sign inside double quotation for echo argument is interpreted as variable which need to be resolved. Single quotation need to be used to keep '$'. https://bugzilla.redhat.com/show_bug.cgi?id=1438974 lib/gems/pending/appliance_console/external_httpd_authentication.rb | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-)
New commit detected on ManageIQ/manageiq-gems-pending/master: https://github.com/ManageIQ/manageiq-gems-pending/commit/782e12a35ec01bfbc69726f3a13d90456c959a3b commit 782e12a35ec01bfbc69726f3a13d90456c959a3b Author: Yuri Rudman <yrudman> AuthorDate: Wed Aug 9 14:55:50 2017 -0400 Commit: Yuri Rudman <yrudman> CommitDate: Fri Aug 11 13:28:28 2017 -0400 added rspec for ExternalHttpdAuthentication#configure_ipa_http_service https://bugzilla.redhat.com/show_bug.cgi?id=1438974 .../external_httpd_authentication_spec.rb | 22 ++++++++++++++++++++++ 1 file changed, 22 insertions(+)
verified on 5.9.0.2