{"action":"opened","number":31391,"pull_request":{"url":"https://api.github.com/repos/saltstack/salt/pulls/31391","id":60068447,"html_url":"https://github.com/saltstack/salt/pull/31391","diff_url":"https://github.com/saltstack/salt/pull/31391.diff","patch_url":"https://github.com/saltstack/salt/pull/31391.patch","issue_url":"https://api.github.com/repos/saltstack/salt/issues/31391","number":31391,"state":"open","locked":false,"title":"Added sanity check: is 'pillar' in self.opts","user":{"login":"redmcg","id":8346438,"avatar_url":"https://avatars.githubusercontent.com/u/8346438?v=3","gravatar_id":"","url":"https://api.github.com/users/redmcg","html_url":"https://github.com/redmcg","followers_url":"https://api.github.com/users/redmcg/followers","following_url":"https://api.github.com/users/redmcg/following{/other_user}","gists_url":"https://api.github.com/users/redmcg/gists{/gist_id}","starred_url":"https://api.github.com/users/redmcg/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/redmcg/subscriptions","organizations_url":"https://api.github.com/users/redmcg/orgs","repos_url":"https://api.github.com/users/redmcg/repos","events_url":"https://api.github.com/users/redmcg/events{/privacy}","received_events_url":"https://api.github.com/users/redmcg/received_events","type":"User","site_admin":false},"body":"This fixes an exception that is thrown when using the 'when' clause in a\r\nmaster scheduler. The master does not appear to create a 'pillar' entry\r\nin self.opts (hence you get an exception when trying to check if 'whens' is in self.opts['pillar']).\r\n\r\nFor example - the following schedule entry in the master config would create this exception:\r\n```\r\nschedule:\r\n  test_master_schedule:\r\n    function: myrunner.test\r\n    when: 10:00pm\r\n```\r\n","created_at":"2016-02-21T01:55:47Z","updated_at":"2016-02-21T01:55:47Z","closed_at":null,"merged_at":null,"merge_commit_sha":null,"assignee":null,"milestone":null,"commits_url":"https://api.github.com/repos/saltstack/salt/pulls/31391/commits","review_comments_url":"https://api.github.com/repos/saltstack/salt/pulls/31391/comments","review_comment_url":"https://api.github.com/repos/saltstack/salt/pulls/comments{/number}","comments_url":"https://api.github.com/repos/saltstack/salt/issues/31391/comments","statuses_url":"https://api.github.com/repos/saltstack/salt/statuses/91e74feaf36a61a44b071ea3b240cbcb2d4cdda3","head":{"label":"redmcg:master_schedule_fix","ref":"master_schedule_fix","sha":"91e74feaf36a61a44b071ea3b240cbcb2d4cdda3","user":{"login":"redmcg","id":8346438,"avatar_url":"https://avatars.githubusercontent.com/u/8346438?v=3","gravatar_id":"","url":"https://api.github.com/users/redmcg","html_url":"https://github.com/redmcg","followers_url":"https://api.github.com/users/redmcg/followers","following_url":"https://api.github.com/users/redmcg/following{/other_user}","gists_url":"https://api.github.com/users/redmcg/gists{/gist_id}","starred_url":"https://api.github.com/users/redmcg/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/redmcg/subscriptions","organizations_url":"https://api.github.com/users/redmcg/orgs","repos_url":"https://api.github.com/users/redmcg/repos","events_url":"https://api.github.com/users/redmcg/events{/privacy}","received_events_url":"https://api.github.com/users/redmcg/received_events","type":"User","site_admin":false},"repo":{"id":52046090,"name":"salt","full_name":"redmcg/salt","owner":{"login":"redmcg","id":8346438,"avatar_url":"https://avatars.githubusercontent.com/u/8346438?v=3","gravatar_id":"","url":"https://api.github.com/users/redmcg","html_url":"https://github.com/redmcg","followers_url":"https://api.github.com/users/redmcg/followers","following_url":"https://api.github.com/users/redmcg/following{/other_user}","gists_url":"https://api.github.com/users/redmcg/gists{/gist_id}","starred_url":"https://api.github.com/users/redmcg/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/redmcg/subscriptions","organizations_url":"https://api.github.com/users/redmcg/orgs","repos_url":"https://api.github.com/users/redmcg/repos","events_url":"https://api.github.com/users/redmcg/events{/privacy}","received_events_url":"https://api.github.com/users/redmcg/received_events","type":"User","site_admin":false},"private":false,"html_url":"https://github.com/redmcg/salt","description":"Software to automate the management and configuration of any infrastructure or application at scale. Get access to the Salt Open software package repository here: ","fork":true,"url":"https://api.github.com/repos/redmcg/salt","forks_url":"https://api.github.com/repos/redmcg/salt/forks","keys_url":"https://api.github.com/repos/redmcg/salt/keys{/key_id}","collaborators_url":"https://api.github.com/repos/redmcg/salt/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/redmcg/salt/teams","hooks_url":"https://api.github.com/repos/redmcg/salt/hooks","issue_events_url":"https://api.github.com/repos/redmcg/salt/issues/events{/number}","events_url":"https://api.github.com/repos/redmcg/salt/events","assignees_url":"https://api.github.com/repos/redmcg/salt/assignees{/user}","branches_url":"https://api.github.com/repos/redmcg/salt/branches{/branch}","tags_url":"https://api.github.com/repos/redmcg/salt/tags","blobs_url":"https://api.github.com/repos/redmcg/salt/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/redmcg/salt/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/redmcg/salt/git/refs{/sha}","trees_url":"https://api.github.com/repos/redmcg/salt/git/trees{/sha}","statuses_url":"https://api.github.com/repos/redmcg/salt/statuses/{sha}","languages_url":"https://api.github.com/repos/redmcg/salt/languages","stargazers_url":"https://api.github.com/repos/redmcg/salt/stargazers","contributors_url":"https://api.github.com/repos/redmcg/salt/contributors","subscribers_url":"https://api.github.com/repos/redmcg/salt/subscribers","subscription_url":"https://api.github.com/repos/redmcg/salt/subscription","commits_url":"https://api.github.com/repos/redmcg/salt/commits{/sha}","git_commits_url":"https://api.github.com/repos/redmcg/salt/git/commits{/sha}","comments_url":"https://api.github.com/repos/redmcg/salt/comments{/number}","issue_comment_url":"https://api.github.com/repos/redmcg/salt/issues/comments{/number}","contents_url":"https://api.github.com/repos/redmcg/salt/contents/{+path}","compare_url":"https://api.github.com/repos/redmcg/salt/compare/{base}...{head}","merges_url":"https://api.github.com/repos/redmcg/salt/merges","archive_url":"https://api.github.com/repos/redmcg/salt/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/redmcg/salt/downloads","issues_url":"https://api.github.com/repos/redmcg/salt/issues{/number}","pulls_url":"https://api.github.com/repos/redmcg/salt/pulls{/number}","milestones_url":"https://api.github.com/repos/redmcg/salt/milestones{/number}","notifications_url":"https://api.github.com/repos/redmcg/salt/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/redmcg/salt/labels{/name}","releases_url":"https://api.github.com/repos/redmcg/salt/releases{/id}","deployments_url":"https://api.github.com/repos/redmcg/salt/deployments","created_at":"2016-02-18T23:18:31Z","updated_at":"2016-02-18T23:18:43Z","pushed_at":"2016-02-21T01:54:06Z","git_url":"git://github.com/redmcg/salt.git","ssh_url":"git@github.com:redmcg/salt.git","clone_url":"https://github.com/redmcg/salt.git","svn_url":"https://github.com/redmcg/salt","homepage":"https://repo.saltstack.com/","size":144858,"stargazers_count":0,"watchers_count":0,"language":"Python","has_issues":false,"has_downloads":true,"has_wiki":true,"has_pages":false,"forks_count":0,"mirror_url":null,"open_issues_count":0,"forks":0,"open_issues":0,"watchers":0,"default_branch":"develop"}},"base":{"label":"saltstack:2015.8","ref":"2015.8","sha":"174ee10fc278016dd3178032a6ab8fb6fb7892fb","user":{"login":"saltstack","id":1147473,"avatar_url":"https://avatars.githubusercontent.com/u/1147473?v=3","gravatar_id":"","url":"https://api.github.com/users/saltstack","html_url":"https://github.com/saltstack","followers_url":"https://api.github.com/users/saltstack/followers","following_url":"https://api.github.com/users/saltstack/following{/other_user}","gists_url":"https://api.github.com/users/saltstack/gists{/gist_id}","starred_url":"https://api.github.com/users/saltstack/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/saltstack/subscriptions","organizations_url":"https://api.github.com/users/saltstack/orgs","repos_url":"https://api.github.com/users/saltstack/repos","events_url":"https://api.github.com/users/saltstack/events{/privacy}","received_events_url":"https://api.github.com/users/saltstack/received_events","type":"Organization","site_admin":false},"repo":{"id":1390248,"name":"salt","full_name":"saltstack/salt","owner":{"login":"saltstack","id":1147473,"avatar_url":"https://avatars.githubusercontent.com/u/1147473?v=3","gravatar_id":"","url":"https://api.github.com/users/saltstack","html_url":"https://github.com/saltstack","followers_url":"https://api.github.com/users/saltstack/followers","following_url":"https://api.github.com/users/saltstack/following{/other_user}","gists_url":"https://api.github.com/users/saltstack/gists{/gist_id}","starred_url":"https://api.github.com/users/saltstack/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/saltstack/subscriptions","organizations_url":"https://api.github.com/users/saltstack/orgs","repos_url":"https://api.github.com/users/saltstack/repos","events_url":"https://api.github.com/users/saltstack/events{/privacy}","received_events_url":"https://api.github.com/users/saltstack/received_events","type":"Organization","site_admin":false},"private":false,"html_url":"https://github.com/saltstack/salt","description":"Software to automate the management and configuration of any infrastructure or application at scale. Get access to the Salt Open software package repository here: ","fork":false,"url":"https://api.github.com/repos/saltstack/salt","forks_url":"https://api.github.com/repos/saltstack/salt/forks","keys_url":"https://api.github.com/repos/saltstack/salt/keys{/key_id}","collaborators_url":"https://api.github.com/repos/saltstack/salt/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/saltstack/salt/teams","hooks_url":"https://api.github.com/repos/saltstack/salt/hooks","issue_events_url":"https://api.github.com/repos/saltstack/salt/issues/events{/number}","events_url":"https://api.github.com/repos/saltstack/salt/events","assignees_url":"https://api.github.com/repos/saltstack/salt/assignees{/user}","branches_url":"https://api.github.com/repos/saltstack/salt/branches{/branch}","tags_url":"https://api.github.com/repos/saltstack/salt/tags","blobs_url":"https://api.github.com/repos/saltstack/salt/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/saltstack/salt/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/saltstack/salt/git/refs{/sha}","trees_url":"https://api.github.com/repos/saltstack/salt/git/trees{/sha}","statuses_url":"https://api.github.com/repos/saltstack/salt/statuses/{sha}","languages_url":"https://api.github.com/repos/saltstack/salt/languages","stargazers_url":"https://api.github.com/repos/saltstack/salt/stargazers","contributors_url":"https://api.github.com/repos/saltstack/salt/contributors","subscribers_url":"https://api.github.com/repos/saltstack/salt/subscribers","subscription_url":"https://api.github.com/repos/saltstack/salt/subscription","commits_url":"https://api.github.com/repos/saltstack/salt/commits{/sha}","git_commits_url":"https://api.github.com/repos/saltstack/salt/git/commits{/sha}","comments_url":"https://api.github.com/repos/saltstack/salt/comments{/number}","issue_comment_url":"https://api.github.com/repos/saltstack/salt/issues/comments{/number}","contents_url":"https://api.github.com/repos/saltstack/salt/contents/{+path}","compare_url":"https://api.github.com/repos/saltstack/salt/compare/{base}...{head}","merges_url":"https://api.github.com/repos/saltstack/salt/merges","archive_url":"https://api.github.com/repos/saltstack/salt/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/saltstack/salt/downloads","issues_url":"https://api.github.com/repos/saltstack/salt/issues{/number}","pulls_url":"https://api.github.com/repos/saltstack/salt/pulls{/number}","milestones_url":"https://api.github.com/repos/saltstack/salt/milestones{/number}","notifications_url":"https://api.github.com/repos/saltstack/salt/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/saltstack/salt/labels{/name}","releases_url":"https://api.github.com/repos/saltstack/salt/releases{/id}","deployments_url":"https://api.github.com/repos/saltstack/salt/deployments","created_at":"2011-02-20T20:16:56Z","updated_at":"2016-02-20T19:13:56Z","pushed_at":"2016-02-21T01:55:47Z","git_url":"git://github.com/saltstack/salt.git","ssh_url":"git@github.com:saltstack/salt.git","clone_url":"https://github.com/saltstack/salt.git","svn_url":"https://github.com/saltstack/salt","homepage":"https://repo.saltstack.com/","size":159155,"stargazers_count":6228,"watchers_count":6228,"language":"Python","has_issues":true,"has_downloads":true,"has_wiki":true,"has_pages":false,"forks_count":2730,"mirror_url":null,"open_issues_count":3391,"forks":2730,"open_issues":3391,"watchers":6228,"default_branch":"develop"}},"_links":{"self":{"href":"https://api.github.com/repos/saltstack/salt/pulls/31391"},"html":{"href":"https://github.com/saltstack/salt/pull/31391"},"issue":{"href":"https://api.github.com/repos/saltstack/salt/issues/31391"},"comments":{"href":"https://api.github.com/repos/saltstack/salt/issues/31391/comments"},"review_comments":{"href":"https://api.github.com/repos/saltstack/salt/pulls/31391/comments"},"review_comment":{"href":"https://api.github.com/repos/saltstack/salt/pulls/comments{/number}"},"commits":{"href":"https://api.github.com/repos/saltstack/salt/pulls/31391/commits"},"statuses":{"href":"https://api.github.com/repos/saltstack/salt/statuses/91e74feaf36a61a44b071ea3b240cbcb2d4cdda3"}},"merged":false,"mergeable":null,"mergeable_state":"unknown","merged_by":null,"comments":0,"review_comments":0,"commits":1,"additions":2,"deletions":2,"changed_files":1}}