-
Notifications
You must be signed in to change notification settings - Fork 205
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
2.3.1 - Puppet lint fails with 1.8.7-p371 and Puppet 3.8.0 #759
Comments
AFAICK, this is not fixed with 2.3.2
|
Ah, I did not noticed the Ruby 1.8.7 part. Puppet 4 AIO shipped with Ruby 2.1.9 and I would suggest using that or higher to test with Puppet 4 and Ruby 1.9.0 and higher with Puppet 3. puppet-lint itself no longer tests with Ruby 1.8.7, though. |
I don't see any overlap between #754 and this issue. |
We're testing Puppet 3.8 with 1.8.7 and exclude Puppet 4 on 1.8.7. See the exclusions in the travis matrix for the details. |
It should be. Version 2 is documented as the last version supporting Ruby 1.8. |
I see that and I'm not sure where that went awry. @rodjek will hopefully be online soon and can comment as he's more in tune with the project's direction and the changes that were removed that likely affect this issue. |
Thanks Rob, and thanks for helping out with puppet-lint. It's really nice you're putting your time and effort into maintaining tools so many of us rely on. |
Without this patch puppet-lint 2.3.1 results in this error in Ruby 1.8.7: SyntaxError: /home/travis/.rvm/gems/ruby-1.8.7-p371/gems/puppet-lint-2.3.1/lib/puppet-lint/configuration.rb:53: undefined (?...) sequence: /^(?<option>\w+)=?$/ /home/travis/.rvm/gems/ruby-1.8.7-p371/gems/puppet-lint-2.3.1/lib/puppet-lint.rb:7:in `gem_original_require' /home/travis/.rvm/gems/ruby-1.8.7-p371/gems/puppet-lint-2.3.1/lib/puppet-lint.rb:7:in `require' /home/travis/.rvm/gems/ruby-1.8.7-p371/gems/puppet-lint-2.3.1/lib/puppet-lint.rb:7 /home/travis/.rvm/gems/ruby-1.8.7-p371/gems/puppet-lint-2.3.1/lib/puppet-lint/tasks/puppet-lint.rb:1:in `gem_original_require' /home/travis/.rvm/gems/ruby-1.8.7-p371/gems/puppet-lint-2.3.1/lib/puppet-lint/tasks/puppet-lint.rb:1:in `require' /home/travis/.rvm/gems/ruby-1.8.7-p371/gems/puppet-lint-2.3.1/lib/puppet-lint/tasks/puppet-lint.rb:1 /home/travis/.rvm/gems/ruby-1.8.7-p371/gems/puppetlabs_spec_helper-2.0.2/lib/puppetlabs_spec_helper/rake_tasks.rb:438:in `gem_original_require' /home/travis/.rvm/gems/ruby-1.8.7-p371/gems/puppetlabs_spec_helper-2.0.2/lib/puppetlabs_spec_helper/rake_tasks.rb:438:in `require' /home/travis/.rvm/gems/ruby-1.8.7-p371/gems/puppetlabs_spec_helper-2.0.2/lib/puppetlabs_spec_helper/rake_tasks.rb:438 /home/travis/build/nytm/puppet-module-confluence/Rakefile:1:in `gem_original_require' /home/travis/build/nytm/puppet-module-confluence/Rakefile:1:in `require' /home/travis/build/nytm/puppet-module-confluence/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 issue has been filed upstream as rodjek/puppet-lint#759
Gah, I read it wrong and thought we'd already deprecated 1.8.7, so I removed it from the travis matrix as it was already in the allowed_failures group. I'll get a PR to restore 1.8.7 functionality going today for a 2.3.3 release. |
Expected behavior: Same as 2.3.0
Actual behavior:
Using a module with a build matrix of:
The text was updated successfully, but these errors were encountered: