{"action":"opened","issue":{"url":"https://api.github.com/repos/rodjek/puppet-lint/issues/842","repository_url":"https://api.github.com/repos/rodjek/puppet-lint","labels_url":"https://api.github.com/repos/rodjek/puppet-lint/issues/842/labels{/name}","comments_url":"https://api.github.com/repos/rodjek/puppet-lint/issues/842/comments","events_url":"https://api.github.com/repos/rodjek/puppet-lint/issues/842/events","html_url":"https://github.com/rodjek/puppet-lint/issues/842","id":377003994,"node_id":"MDU6SXNzdWUzNzcwMDM5OTQ=","number":842,"title":"Whoops! It looks like puppet-lint has encountered an error that it doesn't know how to handle.","user":{"login":"jkroepke","id":1560587,"node_id":"MDQ6VXNlcjE1NjA1ODc=","avatar_url":"https://avatars3.githubusercontent.com/u/1560587?v=4","gravatar_id":"","url":"https://api.github.com/users/jkroepke","html_url":"https://github.com/jkroepke","followers_url":"https://api.github.com/users/jkroepke/followers","following_url":"https://api.github.com/users/jkroepke/following{/other_user}","gists_url":"https://api.github.com/users/jkroepke/gists{/gist_id}","starred_url":"https://api.github.com/users/jkroepke/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/jkroepke/subscriptions","organizations_url":"https://api.github.com/users/jkroepke/orgs","repos_url":"https://api.github.com/users/jkroepke/repos","events_url":"https://api.github.com/users/jkroepke/events{/privacy}","received_events_url":"https://api.github.com/users/jkroepke/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"assignees":[],"milestone":null,"comments":0,"created_at":"2018-11-03T00:14:31Z","updated_at":"2018-11-03T00:14:31Z","closed_at":null,"author_association":"NONE","body":"```\r\n+ bundle exec rake lint\r\n```\r\n\r\nRunning Puppet 6.0.4 which gives no syntax error.\r\n\r\nWhoops! It looks like puppet-lint has encountered an error that it doesn't\r\nknow how to handle. Please open an issue at https://github.com/rodjek/puppet-lint\r\nand paste the following output into the issue description.\r\n---\r\npuppet-lint version: 2.3.6\r\nruby version: 2.4.5-p335\r\nplatform: x86_64-linux\r\nfile path: site/profile/manifests/privoxy.pp\r\nfile contents:\r\n```\r\nclass profile::privoxy(\r\n  Hash $config = {},\r\n) {\r\n  package { 'privoxy':\r\n    ensure => present;\r\n  }\r\n  file { '/etc/privoxy/config':\r\n    require => Package['privoxy'],\r\n    notify  => Service['privoxy'],\r\n    content => $config.map |$key, $value| { \"${key} ${flatten([$value]).join(\"\\n${key} \")}\" }.join(\"\\n\");\r\n  }\r\n  service { 'privoxy':\r\n    ensure => running,\r\n    enable => true;\r\n  }\r\n}\r\n```\r\nerror:\r\n```\r\nTypeError: no implicit conversion of nil into String\r\n/usr/local/bundle/gems/puppet-lint-2.3.6/lib/puppet-lint/lexer.rb:321:in `+'\r\n/usr/local/bundle/gems/puppet-lint-2.3.6/lib/puppet-lint/lexer.rb:321:in `slurp_string'\r\n/usr/local/bundle/gems/puppet-lint-2.3.6/lib/puppet-lint/lexer.rb:226:in `tokenise'\r\n/usr/local/bundle/gems/puppet-lint-2.3.6/lib/puppet-lint/lexer.rb:473:in `interpolate_string'\r\n/usr/local/bundle/gems/puppet-lint-2.3.6/lib/puppet-lint/lexer.rb:228:in `tokenise'\r\n/usr/local/bundle/gems/puppet-lint-2.3.6/lib/puppet-lint/checks.rb:25:in `load_data'\r\n/usr/local/bundle/gems/puppet-lint-2.3.6/lib/puppet-lint/checks.rb:55:in `run'\r\n/usr/local/bundle/gems/puppet-lint-2.3.6/lib/puppet-lint.rb:205:in `run'\r\n/usr/local/bundle/gems/puppet-lint-2.3.6/lib/puppet-lint/tasks/puppet-lint.rb:83:in `block (3 levels) in define'\r\n/usr/local/bundle/gems/puppet-lint-2.3.6/lib/puppet-lint/tasks/puppet-lint.rb:81:in `each'\r\n/usr/local/bundle/gems/puppet-lint-2.3.6/lib/puppet-lint/tasks/puppet-lint.rb:81:in `block (2 levels) in define'\r\n/usr/local/bundle/gems/rake-12.3.1/lib/rake/file_utils_ext.rb:59:in `verbose'\r\n/usr/local/bundle/gems/puppet-lint-2.3.6/lib/puppet-lint/tasks/puppet-lint.rb:75:in `block in define'\r\n/usr/local/bundle/gems/rake-12.3.1/lib/rake/task.rb:271:in `block in execute'\r\n/usr/local/bundle/gems/rake-12.3.1/lib/rake/task.rb:271:in `each'\r\n/usr/local/bundle/gems/rake-12.3.1/lib/rake/task.rb:271:in `execute'\r\n/usr/local/bundle/gems/rake-12.3.1/lib/rake/task.rb:213:in `block in invoke_with_call_chain'\r\n/usr/local/lib/ruby/2.4.0/monitor.rb:214:in `mon_synchronize'\r\n/usr/local/bundle/gems/rake-12.3.1/lib/rake/task.rb:193:in `invoke_with_call_chain'\r\n/usr/local/bundle/gems/rake-12.3.1/lib/rake/task.rb:182:in `invoke'\r\n/usr/local/bundle/gems/rake-12.3.1/lib/rake/application.rb:160:in `invoke_task'\r\n/usr/local/bundle/gems/rake-12.3.1/lib/rake/application.rb:116:in `block (2 levels) in top_level'\r\n/usr/local/bundle/gems/rake-12.3.1/lib/rake/application.rb:116:in `each'\r\n/usr/local/bundle/gems/rake-12.3.1/lib/rake/application.rb:116:in `block in top_level'\r\n/usr/local/bundle/gems/rake-12.3.1/lib/rake/application.rb:125:in `run_with_threads'\r\n/usr/local/bundle/gems/rake-12.3.1/lib/rake/application.rb:110:in `top_level'\r\n/usr/local/bundle/gems/rake-12.3.1/lib/rake/application.rb:83:in `block in run'\r\n/usr/local/bundle/gems/rake-12.3.1/lib/rake/application.rb:186:in `standard_exception_handling'\r\n/usr/local/bundle/gems/rake-12.3.1/lib/rake/application.rb:80:in `run'\r\n/usr/local/bundle/gems/rake-12.3.1/exe/rake:27:in `<top (required)>'\r\n/usr/local/bundle/bin/rake:23:in `load'\r\n/usr/local/bundle/bin/rake:23:in `<top (required)>'\r\n/usr/local/lib/ruby/gems/2.4.0/gems/bundler-1.17.1/lib/bundler/cli/exec.rb:74:in `load'\r\n/usr/local/lib/ruby/gems/2.4.0/gems/bundler-1.17.1/lib/bundler/cli/exec.rb:74:in `kernel_load'\r\n/usr/local/lib/ruby/gems/2.4.0/gems/bundler-1.17.1/lib/bundler/cli/exec.rb:28:in `run'"}}
{"actor":{"display_login":"jkroepke"}}