Closed BIAndrews closed 4 years ago
Here is the travicCI error: The command "SPEC_OPTS="--format documentation" bundle exec rake validate lint spec" exited with 1.
TravisCI error isn't an issue with the additional parameters.
rake aborted!
NoMethodError: undefined method `absolute_path' for File:Class
/home/travis/.rvm/gems/ruby-1.8.7-p371/gems/puppetlabs_spec_helper-2.1.0/lib/puppetlabs_spec_helper/rake_tasks.rb:585
/home/travis/build/pjorg/pjorg-puppet-sumo/Rakefile:1:in `gem_original_require'
/home/travis/build/pjorg/pjorg-puppet-sumo/Rakefile:1:in `require'
/home/travis/build/pjorg/pjorg-puppet-sumo/Rakefile:1
/home/travis/.rvm/gems/ruby-1.8.7-p371/bin/ruby_executable_hooks:15
(See full trace by running task with --trace)
The method absolute_path was added in ruby 1.9.1, which is why all ruby 1.8 test cases are failing.
Tested with current Sumo logic agent on RHEL7
Vendor docs on usage
https://help.sumologic.com/Send_Data/Sources/03Use_JSON_to_Configure_Sources/JSON_Parameters_for_Installed_Sources#Local_File_Source