Actions
Bug #26556
closedUnable to upload arf report on rhel 6 client: unexpected '.', expecting kEND (SyntaxError)
Description
Description of problem:
Trying to upload scap report on rhel 6 client gives error
- foreman_scap_client 2
/usr/lib/ruby/site_ruby/1.8/rubygems/custom_require.rb:31:in `gem_original_require': /usr/lib/ruby/gems/1.8/gems/foreman_scap_client-0.4.4/lib/foreman_scap_client/client.rb:61: syntax error, unexpected '.', expecting kEND (SyntaxError)
.select { |item| item.start_wit...
^
/usr/lib/ruby/gems/1.8/gems/foreman_scap_client-0.4.4/lib/foreman_scap_client/client.rb:62: syntax error, unexpected '.', expecting kEND
.join("\n")
^
from /usr/lib/ruby/site_ruby/1.8/rubygems/custom_require.rb:31:in `require'
from /usr/lib/ruby/gems/1.8/gems/foreman_scap_client-0.4.4/lib/foreman_scap_client.rb:2
from /usr/lib/ruby/site_ruby/1.8/rubygems/custom_require.rb:31:in `gem_original_require'
from /usr/lib/ruby/site_ruby/1.8/rubygems/custom_require.rb:31:in `require'
from /usr/lib/ruby/gems/1.8/gems/foreman_scap_client-0.4.4/bin/foreman_scap_client:3
from /usr/bin/foreman_scap_client:19:in `load'
from /usr/bin/foreman_scap_client:19
Steps to Reproduce:
1. Register rhel 6 client to satellite
2. Assign scap policy
3. Try to upload report to satellite
Expected results: Successful upload of arf reports.
Updated by Ondřej Pražák about 6 years ago
- Subject changed from Unable to upload arf report on rhel 6 client: unexpected '.', expecting kEND (SyntaxError) to Unable to upload arf report on rhel 6 client: unexpected '.', expecting kEND (SyntaxError)
- Priority changed from Normal to High
Updated by Marek Hulán about 6 years ago
- Fixed in Releases foreman_scap_client 0.4.5 added
Actions