{"action":"created","issue":{"url":"https://api.github.com/repos/hackebrot/poyo/issues/3","repository_url":"https://api.github.com/repos/hackebrot/poyo","labels_url":"https://api.github.com/repos/hackebrot/poyo/issues/3/labels{/name}","comments_url":"https://api.github.com/repos/hackebrot/poyo/issues/3/comments","events_url":"https://api.github.com/repos/hackebrot/poyo/issues/3/events","html_url":"https://github.com/hackebrot/poyo/issues/3","id":147748631,"number":3,"title":"The parser fails to parse YAML file starting with \"---\"","user":{"login":"sathlan","id":328319,"avatar_url":"https://avatars.githubusercontent.com/u/328319?v=3","gravatar_id":"","url":"https://api.github.com/users/sathlan","html_url":"https://github.com/sathlan","followers_url":"https://api.github.com/users/sathlan/followers","following_url":"https://api.github.com/users/sathlan/following{/other_user}","gists_url":"https://api.github.com/users/sathlan/gists{/gist_id}","starred_url":"https://api.github.com/users/sathlan/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/sathlan/subscriptions","organizations_url":"https://api.github.com/users/sathlan/orgs","repos_url":"https://api.github.com/users/sathlan/repos","events_url":"https://api.github.com/users/sathlan/events{/privacy}","received_events_url":"https://api.github.com/users/sathlan/received_events","type":"User","site_admin":false},"labels":[{"url":"https://api.github.com/repos/hackebrot/poyo/labels/bug","name":"bug","color":"fc2929"}],"state":"closed","locked":false,"assignee":null,"milestone":null,"comments":2,"created_at":"2016-04-12T13:18:21Z","updated_at":"2016-04-13T20:01:37Z","closed_at":"2016-04-12T17:15:16Z","body":"Using this simple YAML file:\r\n\r\n    ---\r\n    default_context:\r\n      project_name: whazz\r\n      version: 0.0.1\r\n      year: 2016\r\n\r\nI get this error\r\n\r\n     cookiecutter.exceptions.InvalidConfiguration: Unable to parse YAML file /home/jenkins/workspace/gate-puppet-openstack-cookiecutter-puppet-3-cookiecutter-check/default-config.yaml. Error: None of the known patterns match for ---\r\n\r\nAccording to the specification, a YAML file should start with \"---\" on\r\na line of its own: http://www.yaml.org/spec/1.2/spec.html#id2760395\r\n\r\nIf you change the test file like this :\r\n\r\n    diff --git a/tests/foobar.yml b/tests/foobar.yml\r\n    index a0d62ba..3c2cee2 100644\r\n    --- a/tests/foobar.yml\r\n    +++ b/tests/foobar.yml\r\n    @@ -1,3 +1,4 @@\r\n    +---\r\n     default_context: # foobar\r\n         greeting: ?????\r\n         email: \"raphael@hackebrot.de\"\r\n    \r\nYou can easily reproduce it.\r\n"},"comment":{"url":"https://api.github.com/repos/hackebrot/poyo/issues/comments/209623054","html_url":"https://github.com/hackebrot/poyo/issues/3#issuecomment-209623054","issue_url":"https://api.github.com/repos/hackebrot/poyo/issues/3","id":209623054,"user":{"login":"hackebrot","id":6024445,"avatar_url":"https://avatars.githubusercontent.com/u/6024445?v=3","gravatar_id":"","url":"https://api.github.com/users/hackebrot","html_url":"https://github.com/hackebrot","followers_url":"https://api.github.com/users/hackebrot/followers","following_url":"https://api.github.com/users/hackebrot/following{/other_user}","gists_url":"https://api.github.com/users/hackebrot/gists{/gist_id}","starred_url":"https://api.github.com/users/hackebrot/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/hackebrot/subscriptions","organizations_url":"https://api.github.com/users/hackebrot/orgs","repos_url":"https://api.github.com/users/hackebrot/repos","events_url":"https://api.github.com/users/hackebrot/events{/privacy}","received_events_url":"https://api.github.com/users/hackebrot/received_events","type":"User","site_admin":false},"created_at":"2016-04-13T20:01:37Z","updated_at":"2016-04-13T20:01:37Z","body":"Live on PyPI https://pypi.python.org/pypi/poyo"}}