{"action":"opened","issue":{"url":"https://api.github.com/repos/salsoftware/sal/issues/63","labels_url":"https://api.github.com/repos/salsoftware/sal/issues/63/labels{/name}","comments_url":"https://api.github.com/repos/salsoftware/sal/issues/63/comments","events_url":"https://api.github.com/repos/salsoftware/sal/issues/63/events","html_url":"https://github.com/salsoftware/sal/issues/63","id":63755201,"number":63,"title":"Puppet last_run_summary error","user":{"login":"roadrunner2348","id":464885,"avatar_url":"https://avatars.githubusercontent.com/u/464885?v=3","gravatar_id":"","url":"https://api.github.com/users/roadrunner2348","html_url":"https://github.com/roadrunner2348","followers_url":"https://api.github.com/users/roadrunner2348/followers","following_url":"https://api.github.com/users/roadrunner2348/following{/other_user}","gists_url":"https://api.github.com/users/roadrunner2348/gists{/gist_id}","starred_url":"https://api.github.com/users/roadrunner2348/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/roadrunner2348/subscriptions","organizations_url":"https://api.github.com/users/roadrunner2348/orgs","repos_url":"https://api.github.com/users/roadrunner2348/repos","events_url":"https://api.github.com/users/roadrunner2348/events{/privacy}","received_events_url":"https://api.github.com/users/roadrunner2348/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"milestone":null,"comments":0,"created_at":"2015-03-23T15:44:54Z","updated_at":"2015-03-23T15:44:54Z","closed_at":null,"body":"SAL report fails on server when puppet has not applied a config/not run on the machine. Received this error when running SAL in debug mode:\r\nTraceback:\r\nFile \"/usr/local/sal_env/lib/python2.7/site-packages/django/core/handlers/base.py\" in get_response\r\n  115.                         response = callback(request, *callback_args, **callback_kwargs)\r\nFile \"/usr/local/sal_env/lib/python2.7/site-packages/django/views/decorators/csrf.py\" in wrapped_view\r\n  77.         return view_func(*args, **kwargs)\r\nFile \"/usr/local/sal_env/sal/server/views.py\" in checkin\r\n  799.             machine.puppet_errors = puppet[&#39;events&#39;][&#39;failure&#39;]\r\nException Type: KeyError at /checkin\r\nException Value: &#39;events&#39;\r\n\r\nDue to unexpected state of last_run_summary.yaml file, example:\r\n--- \r\n  version: \r\n    config: \r\n    puppet: \"3.4.2\"\r\n  time: \r\n    last_run: 1394827952\r\n\r\nhttps://groups.google.com/d/topic/sal-discuss/CpMyDe80_xk/discussion\r\n\r\n"}}