{"action":"created","comment":{"url":"https://api.github.com/repos/jenkinsci/puppet-jenkins/pulls/comments/44877578","id":44877578,"diff_hunk":"@@ -43,6 +44,9 @@\n       jobname => $jobname,\n     }\n   } else {\n+    if $config == undef and $source == undef and $template == undef {\n+      fail('You should at least specify one of the $config, $source or $template param')\n+    }","path":"manifests/job.pp","position":21,"original_position":21,"commit_id":"0f2bfcb4b78a1d9b7a750388ca0420b29da4a8ac","original_commit_id":"0f2bfcb4b78a1d9b7a750388ca0420b29da4a8ac","user":{"login":"zonArt","id":6225835,"avatar_url":"https://avatars.githubusercontent.com/u/6225835?v=3","gravatar_id":"","url":"https://api.github.com/users/zonArt","html_url":"https://github.com/zonArt","followers_url":"https://api.github.com/users/zonArt/followers","following_url":"https://api.github.com/users/zonArt/following{/other_user}","gists_url":"https://api.github.com/users/zonArt/gists{/gist_id}","starred_url":"https://api.github.com/users/zonArt/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/zonArt/subscriptions","organizations_url":"https://api.github.com/users/zonArt/orgs","repos_url":"https://api.github.com/users/zonArt/repos","events_url":"https://api.github.com/users/zonArt/events{/privacy}","received_events_url":"https://api.github.com/users/zonArt/received_events","type":"User","site_admin":false},"body":"That's quite strange to have a mandatory parameter not used when the job is disabled","created_at":"2015-11-15T21:13:10Z","updated_at":"2015-11-15T21:13:10Z","html_url":"https://github.com/jenkinsci/puppet-jenkins/pull/422#discussion_r44877578","pull_request_url":"https://api.github.com/repos/jenkinsci/puppet-jenkins/pulls/422","_links":{"self":{"href":"https://api.github.com/repos/jenkinsci/puppet-jenkins/pulls/comments/44877578"},"html":{"href":"https://github.com/jenkinsci/puppet-jenkins/pull/422#discussion_r44877578"},"pull_request":{"href":"https://api.github.com/repos/jenkinsci/puppet-jenkins/pulls/422"}}},"pull_request":{"url":"https://api.github.com/repos/jenkinsci/puppet-jenkins/pulls/422","id":50099172,"html_url":"https://github.com/jenkinsci/puppet-jenkins/pull/422","diff_url":"https://github.com/jenkinsci/puppet-jenkins/pull/422.diff","patch_url":"https://github.com/jenkinsci/puppet-jenkins/pull/422.patch","issue_url":"https://api.github.com/repos/jenkinsci/puppet-jenkins/issues/422","number":422,"state":"open","locked":false,"title":"Feature/ability to chose difftool","user":{"login":"zonArt","id":6225835,"avatar_url":"https://avatars.githubusercontent.com/u/6225835?v=3","gravatar_id":"","url":"https://api.github.com/users/zonArt","html_url":"https://github.com/zonArt","followers_url":"https://api.github.com/users/zonArt/followers","following_url":"https://api.github.com/users/zonArt/following{/other_user}","gists_url":"https://api.github.com/users/zonArt/gists{/gist_id}","starred_url":"https://api.github.com/users/zonArt/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/zonArt/subscriptions","organizations_url":"https://api.github.com/users/zonArt/orgs","repos_url":"https://api.github.com/users/zonArt/repos","events_url":"https://api.github.com/users/zonArt/events{/privacy}","received_events_url":"https://api.github.com/users/zonArt/received_events","type":"User","site_admin":false},"body":"","created_at":"2015-11-09T09:14:28Z","updated_at":"2015-11-15T21:13:10Z","closed_at":null,"merged_at":null,"merge_commit_sha":"c87ec79534e0ee2cf5bddf4839bae4f0f2bd01bd","assignee":null,"milestone":{"url":"https://api.github.com/repos/jenkinsci/puppet-jenkins/milestones/9","html_url":"https://github.com/jenkinsci/puppet-jenkins/milestones/1.7.0%20-%20Oddjob","labels_url":"https://api.github.com/repos/jenkinsci/puppet-jenkins/milestones/9/labels","id":1349007,"number":9,"title":"1.7.0 - Oddjob","description":"","creator":{"login":"jhoblitt","id":948901,"avatar_url":"https://avatars.githubusercontent.com/u/948901?v=3","gravatar_id":"","url":"https://api.github.com/users/jhoblitt","html_url":"https://github.com/jhoblitt","followers_url":"https://api.github.com/users/jhoblitt/followers","following_url":"https://api.github.com/users/jhoblitt/following{/other_user}","gists_url":"https://api.github.com/users/jhoblitt/gists{/gist_id}","starred_url":"https://api.github.com/users/jhoblitt/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/jhoblitt/subscriptions","organizations_url":"https://api.github.com/users/jhoblitt/orgs","repos_url":"https://api.github.com/users/jhoblitt/repos","events_url":"https://api.github.com/users/jhoblitt/events{/privacy}","received_events_url":"https://api.github.com/users/jhoblitt/received_events","type":"User","site_admin":false},"open_issues":11,"closed_issues":7,"state":"open","created_at":"2015-10-11T04:34:44Z","updated_at":"2015-11-15T16:49:24Z","due_on":null,"closed_at":null},"commits_url":"https://api.github.com/repos/jenkinsci/puppet-jenkins/pulls/422/commits","review_comments_url":"https://api.github.com/repos/jenkinsci/puppet-jenkins/pulls/422/comments","review_comment_url":"https://api.github.com/repos/jenkinsci/puppet-jenkins/pulls/comments{/number}","comments_url":"https://api.github.com/repos/jenkinsci/puppet-jenkins/issues/422/comments","statuses_url":"https://api.github.com/repos/jenkinsci/puppet-jenkins/statuses/0f2bfcb4b78a1d9b7a750388ca0420b29da4a8ac","head":{"label":"nespresso:feature/Ability_to_chose_difftool","ref":"feature/Ability_to_chose_difftool","sha":"0f2bfcb4b78a1d9b7a750388ca0420b29da4a8ac","user":{"login":"nespresso","id":3135380,"avatar_url":"https://avatars.githubusercontent.com/u/3135380?v=3","gravatar_id":"","url":"https://api.github.com/users/nespresso","html_url":"https://github.com/nespresso","followers_url":"https://api.github.com/users/nespresso/followers","following_url":"https://api.github.com/users/nespresso/following{/other_user}","gists_url":"https://api.github.com/users/nespresso/gists{/gist_id}","starred_url":"https://api.github.com/users/nespresso/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/nespresso/subscriptions","organizations_url":"https://api.github.com/users/nespresso/orgs","repos_url":"https://api.github.com/users/nespresso/repos","events_url":"https://api.github.com/users/nespresso/events{/privacy}","received_events_url":"https://api.github.com/users/nespresso/received_events","type":"Organization","site_admin":false},"repo":{"id":18367271,"name":"puppet-jenkins","full_name":"nespresso/puppet-jenkins","owner":{"login":"nespresso","id":3135380,"avatar_url":"https://avatars.githubusercontent.com/u/3135380?v=3","gravatar_id":"","url":"https://api.github.com/users/nespresso","html_url":"https://github.com/nespresso","followers_url":"https://api.github.com/users/nespresso/followers","following_url":"https://api.github.com/users/nespresso/following{/other_user}","gists_url":"https://api.github.com/users/nespresso/gists{/gist_id}","starred_url":"https://api.github.com/users/nespresso/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/nespresso/subscriptions","organizations_url":"https://api.github.com/users/nespresso/orgs","repos_url":"https://api.github.com/users/nespresso/repos","events_url":"https://api.github.com/users/nespresso/events{/privacy}","received_events_url":"https://api.github.com/users/nespresso/received_events","type":"Organization","site_admin":false},"private":false,"html_url":"https://github.com/nespresso/puppet-jenkins","description":"Puppet module for Jenkins","fork":true,"url":"https://api.github.com/repos/nespresso/puppet-jenkins","forks_url":"https://api.github.com/repos/nespresso/puppet-jenkins/forks","keys_url":"https://api.github.com/repos/nespresso/puppet-jenkins/keys{/key_id}","collaborators_url":"https://api.github.com/repos/nespresso/puppet-jenkins/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/nespresso/puppet-jenkins/teams","hooks_url":"https://api.github.com/repos/nespresso/puppet-jenkins/hooks","issue_events_url":"https://api.github.com/repos/nespresso/puppet-jenkins/issues/events{/number}","events_url":"https://api.github.com/repos/nespresso/puppet-jenkins/events","assignees_url":"https://api.github.com/repos/nespresso/puppet-jenkins/assignees{/user}","branches_url":"https://api.github.com/repos/nespresso/puppet-jenkins/branches{/branch}","tags_url":"https://api.github.com/repos/nespresso/puppet-jenkins/tags","blobs_url":"https://api.github.com/repos/nespresso/puppet-jenkins/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/nespresso/puppet-jenkins/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/nespresso/puppet-jenkins/git/refs{/sha}","trees_url":"https://api.github.com/repos/nespresso/puppet-jenkins/git/trees{/sha}","statuses_url":"https://api.github.com/repos/nespresso/puppet-jenkins/statuses/{sha}","languages_url":"https://api.github.com/repos/nespresso/puppet-jenkins/languages","stargazers_url":"https://api.github.com/repos/nespresso/puppet-jenkins/stargazers","contributors_url":"https://api.github.com/repos/nespresso/puppet-jenkins/contributors","subscribers_url":"https://api.github.com/repos/nespresso/puppet-jenkins/subscribers","subscription_url":"https://api.github.com/repos/nespresso/puppet-jenkins/subscription","commits_url":"https://api.github.com/repos/nespresso/puppet-jenkins/commits{/sha}","git_commits_url":"https://api.github.com/repos/nespresso/puppet-jenkins/git/commits{/sha}","comments_url":"https://api.github.com/repos/nespresso/puppet-jenkins/comments{/number}","issue_comment_url":"https://api.github.com/repos/nespresso/puppet-jenkins/issues/comments{/number}","contents_url":"https://api.github.com/repos/nespresso/puppet-jenkins/contents/{+path}","compare_url":"https://api.github.com/repos/nespresso/puppet-jenkins/compare/{base}...{head}","merges_url":"https://api.github.com/repos/nespresso/puppet-jenkins/merges","archive_url":"https://api.github.com/repos/nespresso/puppet-jenkins/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/nespresso/puppet-jenkins/downloads","issues_url":"https://api.github.com/repos/nespresso/puppet-jenkins/issues{/number}","pulls_url":"https://api.github.com/repos/nespresso/puppet-jenkins/pulls{/number}","milestones_url":"https://api.github.com/repos/nespresso/puppet-jenkins/milestones{/number}","notifications_url":"https://api.github.com/repos/nespresso/puppet-jenkins/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/nespresso/puppet-jenkins/labels{/name}","releases_url":"https://api.github.com/repos/nespresso/puppet-jenkins/releases{/id}","created_at":"2014-04-02T13:29:29Z","updated_at":"2015-10-12T15:45:35Z","pushed_at":"2015-11-09T14:48:40Z","git_url":"git://github.com/nespresso/puppet-jenkins.git","ssh_url":"git@github.com:nespresso/puppet-jenkins.git","clone_url":"https://github.com/nespresso/puppet-jenkins.git","svn_url":"https://github.com/nespresso/puppet-jenkins","homepage":"http://forge.puppetlabs.com/rtyler/jenkins","size":1001,"stargazers_count":0,"watchers_count":0,"language":"Ruby","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":"master"}},"base":{"label":"jenkinsci:master","ref":"master","sha":"f2f086130f390220b33edf09b25d3adf76efc28a","user":{"login":"jenkinsci","id":107424,"avatar_url":"https://avatars.githubusercontent.com/u/107424?v=3","gravatar_id":"","url":"https://api.github.com/users/jenkinsci","html_url":"https://github.com/jenkinsci","followers_url":"https://api.github.com/users/jenkinsci/followers","following_url":"https://api.github.com/users/jenkinsci/following{/other_user}","gists_url":"https://api.github.com/users/jenkinsci/gists{/gist_id}","starred_url":"https://api.github.com/users/jenkinsci/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/jenkinsci/subscriptions","organizations_url":"https://api.github.com/users/jenkinsci/orgs","repos_url":"https://api.github.com/users/jenkinsci/repos","events_url":"https://api.github.com/users/jenkinsci/events{/privacy}","received_events_url":"https://api.github.com/users/jenkinsci/received_events","type":"Organization","site_admin":false},"repo":{"id":9735844,"name":"puppet-jenkins","full_name":"jenkinsci/puppet-jenkins","owner":{"login":"jenkinsci","id":107424,"avatar_url":"https://avatars.githubusercontent.com/u/107424?v=3","gravatar_id":"","url":"https://api.github.com/users/jenkinsci","html_url":"https://github.com/jenkinsci","followers_url":"https://api.github.com/users/jenkinsci/followers","following_url":"https://api.github.com/users/jenkinsci/following{/other_user}","gists_url":"https://api.github.com/users/jenkinsci/gists{/gist_id}","starred_url":"https://api.github.com/users/jenkinsci/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/jenkinsci/subscriptions","organizations_url":"https://api.github.com/users/jenkinsci/orgs","repos_url":"https://api.github.com/users/jenkinsci/repos","events_url":"https://api.github.com/users/jenkinsci/events{/privacy}","received_events_url":"https://api.github.com/users/jenkinsci/received_events","type":"Organization","site_admin":false},"private":false,"html_url":"https://github.com/jenkinsci/puppet-jenkins","description":"Puppet module for Jenkins","fork":false,"url":"https://api.github.com/repos/jenkinsci/puppet-jenkins","forks_url":"https://api.github.com/repos/jenkinsci/puppet-jenkins/forks","keys_url":"https://api.github.com/repos/jenkinsci/puppet-jenkins/keys{/key_id}","collaborators_url":"https://api.github.com/repos/jenkinsci/puppet-jenkins/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/jenkinsci/puppet-jenkins/teams","hooks_url":"https://api.github.com/repos/jenkinsci/puppet-jenkins/hooks","issue_events_url":"https://api.github.com/repos/jenkinsci/puppet-jenkins/issues/events{/number}","events_url":"https://api.github.com/repos/jenkinsci/puppet-jenkins/events","assignees_url":"https://api.github.com/repos/jenkinsci/puppet-jenkins/assignees{/user}","branches_url":"https://api.github.com/repos/jenkinsci/puppet-jenkins/branches{/branch}","tags_url":"https://api.github.com/repos/jenkinsci/puppet-jenkins/tags","blobs_url":"https://api.github.com/repos/jenkinsci/puppet-jenkins/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/jenkinsci/puppet-jenkins/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/jenkinsci/puppet-jenkins/git/refs{/sha}","trees_url":"https://api.github.com/repos/jenkinsci/puppet-jenkins/git/trees{/sha}","statuses_url":"https://api.github.com/repos/jenkinsci/puppet-jenkins/statuses/{sha}","languages_url":"https://api.github.com/repos/jenkinsci/puppet-jenkins/languages","stargazers_url":"https://api.github.com/repos/jenkinsci/puppet-jenkins/stargazers","contributors_url":"https://api.github.com/repos/jenkinsci/puppet-jenkins/contributors","subscribers_url":"https://api.github.com/repos/jenkinsci/puppet-jenkins/subscribers","subscription_url":"https://api.github.com/repos/jenkinsci/puppet-jenkins/subscription","commits_url":"https://api.github.com/repos/jenkinsci/puppet-jenkins/commits{/sha}","git_commits_url":"https://api.github.com/repos/jenkinsci/puppet-jenkins/git/commits{/sha}","comments_url":"https://api.github.com/repos/jenkinsci/puppet-jenkins/comments{/number}","issue_comment_url":"https://api.github.com/repos/jenkinsci/puppet-jenkins/issues/comments{/number}","contents_url":"https://api.github.com/repos/jenkinsci/puppet-jenkins/contents/{+path}","compare_url":"https://api.github.com/repos/jenkinsci/puppet-jenkins/compare/{base}...{head}","merges_url":"https://api.github.com/repos/jenkinsci/puppet-jenkins/merges","archive_url":"https://api.github.com/repos/jenkinsci/puppet-jenkins/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/jenkinsci/puppet-jenkins/downloads","issues_url":"https://api.github.com/repos/jenkinsci/puppet-jenkins/issues{/number}","pulls_url":"https://api.github.com/repos/jenkinsci/puppet-jenkins/pulls{/number}","milestones_url":"https://api.github.com/repos/jenkinsci/puppet-jenkins/milestones{/number}","notifications_url":"https://api.github.com/repos/jenkinsci/puppet-jenkins/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/jenkinsci/puppet-jenkins/labels{/name}","releases_url":"https://api.github.com/repos/jenkinsci/puppet-jenkins/releases{/id}","created_at":"2013-04-28T20:34:40Z","updated_at":"2015-11-08T03:25:05Z","pushed_at":"2015-11-15T16:49:15Z","git_url":"git://github.com/jenkinsci/puppet-jenkins.git","ssh_url":"git@github.com:jenkinsci/puppet-jenkins.git","clone_url":"https://github.com/jenkinsci/puppet-jenkins.git","svn_url":"https://github.com/jenkinsci/puppet-jenkins","homepage":"http://forge.puppetlabs.com/rtyler/jenkins","size":4347,"stargazers_count":175,"watchers_count":175,"language":"Ruby","has_issues":true,"has_downloads":true,"has_wiki":true,"has_pages":false,"forks_count":393,"mirror_url":null,"open_issues_count":59,"forks":393,"open_issues":59,"watchers":175,"default_branch":"master"}},"_links":{"self":{"href":"https://api.github.com/repos/jenkinsci/puppet-jenkins/pulls/422"},"html":{"href":"https://github.com/jenkinsci/puppet-jenkins/pull/422"},"issue":{"href":"https://api.github.com/repos/jenkinsci/puppet-jenkins/issues/422"},"comments":{"href":"https://api.github.com/repos/jenkinsci/puppet-jenkins/issues/422/comments"},"review_comments":{"href":"https://api.github.com/repos/jenkinsci/puppet-jenkins/pulls/422/comments"},"review_comment":{"href":"https://api.github.com/repos/jenkinsci/puppet-jenkins/pulls/comments{/number}"},"commits":{"href":"https://api.github.com/repos/jenkinsci/puppet-jenkins/pulls/422/commits"},"statuses":{"href":"https://api.github.com/repos/jenkinsci/puppet-jenkins/statuses/0f2bfcb4b78a1d9b7a750388ca0420b29da4a8ac"}}}}