We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 3db6640 commit 374f9f8Copy full SHA for 374f9f8
cookbooks/aws-parallelcluster-test/libraries/helpers.rb
@@ -265,7 +265,7 @@ def validate_package_version(package, expected_version)
265
when 'amazon', 'centos'
266
test_expression = "$(yum info installed #{package} | grep 'Version' | awk '{print $3}')"
267
when 'ubuntu'
268
- test_expression = "$(apt list --installed #{package} | awk '{print $2}')"
+ test_expression = "$(apt list --installed #{package} | awk '{printf \"%s\", $2}')"
269
else
270
raise "Platform not supported: #{node['platform']}"
271
end
0 commit comments