Description of problem: Try to check an puppet pp file. Version-Release number of selected component: rubygem-puppet-lint-1.1.0-2.el7 Additional info: reporter: libreport-2.1.11 cmdline: /usr/bin/ruby /usr/bin/puppet-lint --fix wi_tomcat/manifests/install8.pp executable: /usr/bin/puppet-lint kernel: 3.10.0-327.22.2.el7.x86_64 runlevel: N 5 type: Ruby uid: 1000 Truncated backtrace: /usr/share/gems/gems/puppet-lint-1.1.0/lib/puppet-lint/plugins/check_whitespace.rb:150:in `*': negative argument (ArgumentError) from /usr/share/gems/gems/puppet-lint-1.1.0/lib/puppet-lint/plugins/check_whitespace.rb:150:in `fix' from /usr/share/gems/gems/puppet-lint-1.1.0/lib/puppet-lint/checkplugin.rb:41:in `block in fix_problems' from /usr/share/gems/gems/puppet-lint-1.1.0/lib/puppet-lint/checkplugin.rb:38:in `each' from /usr/share/gems/gems/puppet-lint-1.1.0/lib/puppet-lint/checkplugin.rb:38:in `fix_problems' from /usr/share/gems/gems/puppet-lint-1.1.0/lib/puppet-lint/checks.rb:68:in `block in run' from /usr/share/gems/gems/puppet-lint-1.1.0/lib/puppet-lint/checks.rb:67:in `each' from /usr/share/gems/gems/puppet-lint-1.1.0/lib/puppet-lint/checks.rb:67:in `run' from /usr/share/gems/gems/puppet-lint-1.1.0/lib/puppet-lint.rb:168:in `run' from /usr/share/gems/gems/puppet-lint-1.1.0/lib/puppet-lint/bin.rb:59:in `block in run' from /usr/share/gems/gems/puppet-lint-1.1.0/lib/puppet-lint/bin.rb:56:in `each' from /usr/share/gems/gems/puppet-lint-1.1.0/lib/puppet-lint/bin.rb:56:in `run' from /usr/share/gems/gems/puppet-lint-1.1.0/bin/puppet-lint:7:in `<top (required)>' from /usr/bin/puppet-lint:23:in `load' from /usr/bin/puppet-lint:23:in `<main>'
Created attachment 1191192 [details] File: backtrace
Created attachment 1191193 [details] File: machineid
puppet-lint wi_tomcat/manifests/install8.pp woll work. but puppet-lint --fix wi_tomcat/manifests/install8.pp will crash