{"action":"created","issue":{"url":"https://api.github.com/repos/bartavelle/language-puppet/issues/258","repository_url":"https://api.github.com/repos/bartavelle/language-puppet","labels_url":"https://api.github.com/repos/bartavelle/language-puppet/issues/258/labels{/name}","comments_url":"https://api.github.com/repos/bartavelle/language-puppet/issues/258/comments","events_url":"https://api.github.com/repos/bartavelle/language-puppet/issues/258/events","html_url":"https://github.com/bartavelle/language-puppet/issues/258","id":371116407,"node_id":"MDU6SXNzdWUzNzExMTY0MDc=","number":258,"title":"Add support for puppet Heredoc","user":{"login":"PierreR","id":93115,"node_id":"MDQ6VXNlcjkzMTE1","avatar_url":"https://avatars3.githubusercontent.com/u/93115?v=4","gravatar_id":"","url":"https://api.github.com/users/PierreR","html_url":"https://github.com/PierreR","followers_url":"https://api.github.com/users/PierreR/followers","following_url":"https://api.github.com/users/PierreR/following{/other_user}","gists_url":"https://api.github.com/users/PierreR/gists{/gist_id}","starred_url":"https://api.github.com/users/PierreR/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/PierreR/subscriptions","organizations_url":"https://api.github.com/users/PierreR/orgs","repos_url":"https://api.github.com/users/PierreR/repos","events_url":"https://api.github.com/users/PierreR/events{/privacy}","received_events_url":"https://api.github.com/users/PierreR/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"assignees":[],"milestone":null,"comments":1,"created_at":"2018-10-17T14:48:31Z","updated_at":"2018-10-27T09:57:38Z","closed_at":null,"author_association":"COLLABORATOR","body":"While trying to update the puppetlabs-postgresql module from `5.2.1` to `5.3.0`, I have this parser error:\r\n\r\n```\r\n[nix-shell:~/projects/bric/cicd/puppet/cicd]$ puppetresources --parse ./modules/postgresql/manifests/server/extension.pp\r\nERROR: cannot parse ./modules/postgresql/manifests/server/extension.pp:60:27:\r\n   |\r\n60 |       unless           => @(\"END\")\r\n   |                           ^^^^^^^^^\r\nunexpected \"@(\"END\")<newline>        SELECT 1<newline>        WHERE EXISTS\"\r\nexpecting expression\r\n```\r\nhttps://github.com/puppetlabs/puppetlabs-postgresql/blob/master/manifests/server/extension.pp#L60"},"comment":{"url":"https://api.github.com/repos/bartavelle/language-puppet/issues/comments/433607217","html_url":"https://github.com/bartavelle/language-puppet/issues/258#issuecomment-433607217","issue_url":"https://api.github.com/repos/bartavelle/language-puppet/issues/258","id":433607217,"node_id":"MDEyOklzc3VlQ29tbWVudDQzMzYwNzIxNw==","user":{"login":"PierreR","id":93115,"node_id":"MDQ6VXNlcjkzMTE1","avatar_url":"https://avatars3.githubusercontent.com/u/93115?v=4","gravatar_id":"","url":"https://api.github.com/users/PierreR","html_url":"https://github.com/PierreR","followers_url":"https://api.github.com/users/PierreR/followers","following_url":"https://api.github.com/users/PierreR/following{/other_user}","gists_url":"https://api.github.com/users/PierreR/gists{/gist_id}","starred_url":"https://api.github.com/users/PierreR/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/PierreR/subscriptions","organizations_url":"https://api.github.com/users/PierreR/orgs","repos_url":"https://api.github.com/users/PierreR/repos","events_url":"https://api.github.com/users/PierreR/events{/privacy}","received_events_url":"https://api.github.com/users/PierreR/received_events","type":"User","site_admin":false},"created_at":"2018-10-27T09:57:38Z","updated_at":"2018-10-27T09:57:38Z","author_association":"COLLABORATOR","body":"Here is the spec: https://github.com/puppetlabs/puppet-specifications/blob/master/language/heredoc.md"}}
{"actor":{"display_login":"PierreR"}}