You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Full stacktrace, if helpful: /Library/Ruby/Gems/2.0.0/gems/puppet-lint-1.1.0/lib/puppet-lint/plugins/check_whitespace.rb:115:in []': no implicit conversion from nil to integer (TypeError)
from /Library/Ruby/Gems/2.0.0/gems/puppet-lint-1.1.0/lib/puppet-lint/plugins/check_whitespace.rb:115:in block (2 levels) in check' from /Library/Ruby/Gems/2.0.0/gems/puppet-lint-1.1.0/lib/puppet-lint/plugins/check_whitespace.rb:111:in each'
from /Library/Ruby/Gems/2.0.0/gems/puppet-lint-1.1.0/lib/puppet-lint/plugins/check_whitespace.rb:111:in each_with_index' from /Library/Ruby/Gems/2.0.0/gems/puppet-lint-1.1.0/lib/puppet-lint/plugins/check_whitespace.rb:111:in block in check'
from /Library/Ruby/Gems/2.0.0/gems/puppet-lint-1.1.0/lib/puppet-lint/plugins/check_whitespace.rb:95:in each' from /Library/Ruby/Gems/2.0.0/gems/puppet-lint-1.1.0/lib/puppet-lint/plugins/check_whitespace.rb:95:in check'
from /Library/Ruby/Gems/2.0.0/gems/puppet-lint-1.1.0/lib/puppet-lint/checkplugin.rb:21:in run' from /Library/Ruby/Gems/2.0.0/gems/puppet-lint-1.1.0/lib/puppet-lint/checks.rb:58:in block in run'
from /Library/Ruby/Gems/2.0.0/gems/puppet-lint-1.1.0/lib/puppet-lint/checks.rb:56:in each' from /Library/Ruby/Gems/2.0.0/gems/puppet-lint-1.1.0/lib/puppet-lint/checks.rb:56:in run'
from /Library/Ruby/Gems/2.0.0/gems/puppet-lint-1.1.0/lib/puppet-lint.rb:168:in run' from /Library/Ruby/Gems/2.0.0/gems/puppet-lint-1.1.0/lib/puppet-lint/bin.rb:59:in block in run'
from /Library/Ruby/Gems/2.0.0/gems/puppet-lint-1.1.0/lib/puppet-lint/bin.rb:56:in each' from /Library/Ruby/Gems/2.0.0/gems/puppet-lint-1.1.0/lib/puppet-lint/bin.rb:56:in run'
from /Library/Ruby/Gems/2.0.0/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>'
The text was updated successfully, but these errors were encountered:
running puppet-lint on https://github.com/ajjahn/puppet-samba/blob/master/manifests/server/ads.pp causes a TypeError crash. By chopping out various bits of the file and re-running, I've isolated it down to this line: https://github.com/ajjahn/puppet-samba/blob/master/manifests/server/ads.pp#L55
Full stacktrace, if helpful:
/Library/Ruby/Gems/2.0.0/gems/puppet-lint-1.1.0/lib/puppet-lint/plugins/check_whitespace.rb:115:in
[]': no implicit conversion from nil to integer (TypeError)from /Library/Ruby/Gems/2.0.0/gems/puppet-lint-1.1.0/lib/puppet-lint/plugins/check_whitespace.rb:115:in
block (2 levels) in check' from /Library/Ruby/Gems/2.0.0/gems/puppet-lint-1.1.0/lib/puppet-lint/plugins/check_whitespace.rb:111:in
each'from /Library/Ruby/Gems/2.0.0/gems/puppet-lint-1.1.0/lib/puppet-lint/plugins/check_whitespace.rb:111:in
each_with_index' from /Library/Ruby/Gems/2.0.0/gems/puppet-lint-1.1.0/lib/puppet-lint/plugins/check_whitespace.rb:111:in
block in check'from /Library/Ruby/Gems/2.0.0/gems/puppet-lint-1.1.0/lib/puppet-lint/plugins/check_whitespace.rb:95:in
each' from /Library/Ruby/Gems/2.0.0/gems/puppet-lint-1.1.0/lib/puppet-lint/plugins/check_whitespace.rb:95:in
check'from /Library/Ruby/Gems/2.0.0/gems/puppet-lint-1.1.0/lib/puppet-lint/checkplugin.rb:21:in
run' from /Library/Ruby/Gems/2.0.0/gems/puppet-lint-1.1.0/lib/puppet-lint/checks.rb:58:in
block in run'from /Library/Ruby/Gems/2.0.0/gems/puppet-lint-1.1.0/lib/puppet-lint/checks.rb:56:in
each' from /Library/Ruby/Gems/2.0.0/gems/puppet-lint-1.1.0/lib/puppet-lint/checks.rb:56:in
run'from /Library/Ruby/Gems/2.0.0/gems/puppet-lint-1.1.0/lib/puppet-lint.rb:168:in
run' from /Library/Ruby/Gems/2.0.0/gems/puppet-lint-1.1.0/lib/puppet-lint/bin.rb:59:in
block in run'from /Library/Ruby/Gems/2.0.0/gems/puppet-lint-1.1.0/lib/puppet-lint/bin.rb:56:in
each' from /Library/Ruby/Gems/2.0.0/gems/puppet-lint-1.1.0/lib/puppet-lint/bin.rb:56:in
run'from /Library/Ruby/Gems/2.0.0/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>'
The text was updated successfully, but these errors were encountered: