{"action":"opened","number":3,"pull_request":{"url":"https://api.github.com/repos/dj-wasabi/puppet-webhook/pulls/3","id":29950803,"html_url":"https://github.com/dj-wasabi/puppet-webhook/pull/3","diff_url":"https://github.com/dj-wasabi/puppet-webhook/pull/3.diff","patch_url":"https://github.com/dj-wasabi/puppet-webhook/pull/3.patch","issue_url":"https://api.github.com/repos/dj-wasabi/puppet-webhook/issues/3","number":3,"state":"open","locked":false,"title":"Fix os family init scope","user":{"login":"rilindo","id":1043059,"avatar_url":"https://avatars.githubusercontent.com/u/1043059?v=3","gravatar_id":"","url":"https://api.github.com/users/rilindo","html_url":"https://github.com/rilindo","followers_url":"https://api.github.com/users/rilindo/followers","following_url":"https://api.github.com/users/rilindo/following{/other_user}","gists_url":"https://api.github.com/users/rilindo/gists{/gist_id}","starred_url":"https://api.github.com/users/rilindo/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/rilindo/subscriptions","organizations_url":"https://api.github.com/users/rilindo/orgs","repos_url":"https://api.github.com/users/rilindo/repos","events_url":"https://api.github.com/users/rilindo/events{/privacy}","received_events_url":"https://api.github.com/users/rilindo/received_events","type":"User","site_admin":false},"body":"There were some bugs in the implementation.\r\n\r\n1) The template files were lowercase, but Os Family is in uppercases. Added code to downcase osfamily.\r\n2) Also made osfamily as a local variable and reference that as a local variable in the template function.\r\n3) Finally, startup in init script was missing a \"q\", which caused then not to start up on Red Hat family. Added that in.","created_at":"2015-02-25T00:33:22Z","updated_at":"2015-02-25T00:33:22Z","closed_at":null,"merged_at":null,"merge_commit_sha":null,"assignee":null,"milestone":null,"commits_url":"https://api.github.com/repos/dj-wasabi/puppet-webhook/pulls/3/commits","review_comments_url":"https://api.github.com/repos/dj-wasabi/puppet-webhook/pulls/3/comments","review_comment_url":"https://api.github.com/repos/dj-wasabi/puppet-webhook/pulls/comments{/number}","comments_url":"https://api.github.com/repos/dj-wasabi/puppet-webhook/issues/3/comments","statuses_url":"https://api.github.com/repos/dj-wasabi/puppet-webhook/statuses/a2abde11d7a2b2960c0481ab64b309ee5288fc3c","head":{"label":"monzell:fix_os_family_init_scope","ref":"fix_os_family_init_scope","sha":"a2abde11d7a2b2960c0481ab64b309ee5288fc3c","user":{"login":"monzell","id":5790747,"avatar_url":"https://avatars.githubusercontent.com/u/5790747?v=3","gravatar_id":"","url":"https://api.github.com/users/monzell","html_url":"https://github.com/monzell","followers_url":"https://api.github.com/users/monzell/followers","following_url":"https://api.github.com/users/monzell/following{/other_user}","gists_url":"https://api.github.com/users/monzell/gists{/gist_id}","starred_url":"https://api.github.com/users/monzell/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/monzell/subscriptions","organizations_url":"https://api.github.com/users/monzell/orgs","repos_url":"https://api.github.com/users/monzell/repos","events_url":"https://api.github.com/users/monzell/events{/privacy}","received_events_url":"https://api.github.com/users/monzell/received_events","type":"Organization","site_admin":false},"repo":{"id":31280728,"name":"puppet-webhook","full_name":"monzell/puppet-webhook","owner":{"login":"monzell","id":5790747,"avatar_url":"https://avatars.githubusercontent.com/u/5790747?v=3","gravatar_id":"","url":"https://api.github.com/users/monzell","html_url":"https://github.com/monzell","followers_url":"https://api.github.com/users/monzell/followers","following_url":"https://api.github.com/users/monzell/following{/other_user}","gists_url":"https://api.github.com/users/monzell/gists{/gist_id}","starred_url":"https://api.github.com/users/monzell/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/monzell/subscriptions","organizations_url":"https://api.github.com/users/monzell/orgs","repos_url":"https://api.github.com/users/monzell/repos","events_url":"https://api.github.com/users/monzell/events{/privacy}","received_events_url":"https://api.github.com/users/monzell/received_events","type":"Organization","site_admin":false},"private":false,"html_url":"https://github.com/monzell/puppet-webhook","description":"Webhook puppet module for executing r10k when git repository is pushed.","fork":true,"url":"https://api.github.com/repos/monzell/puppet-webhook","forks_url":"https://api.github.com/repos/monzell/puppet-webhook/forks","keys_url":"https://api.github.com/repos/monzell/puppet-webhook/keys{/key_id}","collaborators_url":"https://api.github.com/repos/monzell/puppet-webhook/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/monzell/puppet-webhook/teams","hooks_url":"https://api.github.com/repos/monzell/puppet-webhook/hooks","issue_events_url":"https://api.github.com/repos/monzell/puppet-webhook/issues/events{/number}","events_url":"https://api.github.com/repos/monzell/puppet-webhook/events","assignees_url":"https://api.github.com/repos/monzell/puppet-webhook/assignees{/user}","branches_url":"https://api.github.com/repos/monzell/puppet-webhook/branches{/branch}","tags_url":"https://api.github.com/repos/monzell/puppet-webhook/tags","blobs_url":"https://api.github.com/repos/monzell/puppet-webhook/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/monzell/puppet-webhook/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/monzell/puppet-webhook/git/refs{/sha}","trees_url":"https://api.github.com/repos/monzell/puppet-webhook/git/trees{/sha}","statuses_url":"https://api.github.com/repos/monzell/puppet-webhook/statuses/{sha}","languages_url":"https://api.github.com/repos/monzell/puppet-webhook/languages","stargazers_url":"https://api.github.com/repos/monzell/puppet-webhook/stargazers","contributors_url":"https://api.github.com/repos/monzell/puppet-webhook/contributors","subscribers_url":"https://api.github.com/repos/monzell/puppet-webhook/subscribers","subscription_url":"https://api.github.com/repos/monzell/puppet-webhook/subscription","commits_url":"https://api.github.com/repos/monzell/puppet-webhook/commits{/sha}","git_commits_url":"https://api.github.com/repos/monzell/puppet-webhook/git/commits{/sha}","comments_url":"https://api.github.com/repos/monzell/puppet-webhook/comments{/number}","issue_comment_url":"https://api.github.com/repos/monzell/puppet-webhook/issues/comments{/number}","contents_url":"https://api.github.com/repos/monzell/puppet-webhook/contents/{+path}","compare_url":"https://api.github.com/repos/monzell/puppet-webhook/compare/{base}...{head}","merges_url":"https://api.github.com/repos/monzell/puppet-webhook/merges","archive_url":"https://api.github.com/repos/monzell/puppet-webhook/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/monzell/puppet-webhook/downloads","issues_url":"https://api.github.com/repos/monzell/puppet-webhook/issues{/number}","pulls_url":"https://api.github.com/repos/monzell/puppet-webhook/pulls{/number}","milestones_url":"https://api.github.com/repos/monzell/puppet-webhook/milestones{/number}","notifications_url":"https://api.github.com/repos/monzell/puppet-webhook/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/monzell/puppet-webhook/labels{/name}","releases_url":"https://api.github.com/repos/monzell/puppet-webhook/releases{/id}","created_at":"2015-02-24T20:38:33Z","updated_at":"2015-02-24T20:38:33Z","pushed_at":"2015-02-25T00:31:18Z","git_url":"git://github.com/monzell/puppet-webhook.git","ssh_url":"git@github.com:monzell/puppet-webhook.git","clone_url":"https://github.com/monzell/puppet-webhook.git","svn_url":"https://github.com/monzell/puppet-webhook","homepage":null,"size":93,"stargazers_count":0,"watchers_count":0,"language":"Puppet","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":"dj-wasabi:master","ref":"master","sha":"bdc2ac3a04397e3dc9ea7c28d9ff3c54191ef093","user":{"login":"dj-wasabi","id":1171720,"avatar_url":"https://avatars.githubusercontent.com/u/1171720?v=3","gravatar_id":"","url":"https://api.github.com/users/dj-wasabi","html_url":"https://github.com/dj-wasabi","followers_url":"https://api.github.com/users/dj-wasabi/followers","following_url":"https://api.github.com/users/dj-wasabi/following{/other_user}","gists_url":"https://api.github.com/users/dj-wasabi/gists{/gist_id}","starred_url":"https://api.github.com/users/dj-wasabi/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/dj-wasabi/subscriptions","organizations_url":"https://api.github.com/users/dj-wasabi/orgs","repos_url":"https://api.github.com/users/dj-wasabi/repos","events_url":"https://api.github.com/users/dj-wasabi/events{/privacy}","received_events_url":"https://api.github.com/users/dj-wasabi/received_events","type":"User","site_admin":false},"repo":{"id":22390258,"name":"puppet-webhook","full_name":"dj-wasabi/puppet-webhook","owner":{"login":"dj-wasabi","id":1171720,"avatar_url":"https://avatars.githubusercontent.com/u/1171720?v=3","gravatar_id":"","url":"https://api.github.com/users/dj-wasabi","html_url":"https://github.com/dj-wasabi","followers_url":"https://api.github.com/users/dj-wasabi/followers","following_url":"https://api.github.com/users/dj-wasabi/following{/other_user}","gists_url":"https://api.github.com/users/dj-wasabi/gists{/gist_id}","starred_url":"https://api.github.com/users/dj-wasabi/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/dj-wasabi/subscriptions","organizations_url":"https://api.github.com/users/dj-wasabi/orgs","repos_url":"https://api.github.com/users/dj-wasabi/repos","events_url":"https://api.github.com/users/dj-wasabi/events{/privacy}","received_events_url":"https://api.github.com/users/dj-wasabi/received_events","type":"User","site_admin":false},"private":false,"html_url":"https://github.com/dj-wasabi/puppet-webhook","description":"Webhook puppet module for executing r10k when git repository is pushed.","fork":false,"url":"https://api.github.com/repos/dj-wasabi/puppet-webhook","forks_url":"https://api.github.com/repos/dj-wasabi/puppet-webhook/forks","keys_url":"https://api.github.com/repos/dj-wasabi/puppet-webhook/keys{/key_id}","collaborators_url":"https://api.github.com/repos/dj-wasabi/puppet-webhook/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/dj-wasabi/puppet-webhook/teams","hooks_url":"https://api.github.com/repos/dj-wasabi/puppet-webhook/hooks","issue_events_url":"https://api.github.com/repos/dj-wasabi/puppet-webhook/issues/events{/number}","events_url":"https://api.github.com/repos/dj-wasabi/puppet-webhook/events","assignees_url":"https://api.github.com/repos/dj-wasabi/puppet-webhook/assignees{/user}","branches_url":"https://api.github.com/repos/dj-wasabi/puppet-webhook/branches{/branch}","tags_url":"https://api.github.com/repos/dj-wasabi/puppet-webhook/tags","blobs_url":"https://api.github.com/repos/dj-wasabi/puppet-webhook/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/dj-wasabi/puppet-webhook/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/dj-wasabi/puppet-webhook/git/refs{/sha}","trees_url":"https://api.github.com/repos/dj-wasabi/puppet-webhook/git/trees{/sha}","statuses_url":"https://api.github.com/repos/dj-wasabi/puppet-webhook/statuses/{sha}","languages_url":"https://api.github.com/repos/dj-wasabi/puppet-webhook/languages","stargazers_url":"https://api.github.com/repos/dj-wasabi/puppet-webhook/stargazers","contributors_url":"https://api.github.com/repos/dj-wasabi/puppet-webhook/contributors","subscribers_url":"https://api.github.com/repos/dj-wasabi/puppet-webhook/subscribers","subscription_url":"https://api.github.com/repos/dj-wasabi/puppet-webhook/subscription","commits_url":"https://api.github.com/repos/dj-wasabi/puppet-webhook/commits{/sha}","git_commits_url":"https://api.github.com/repos/dj-wasabi/puppet-webhook/git/commits{/sha}","comments_url":"https://api.github.com/repos/dj-wasabi/puppet-webhook/comments{/number}","issue_comment_url":"https://api.github.com/repos/dj-wasabi/puppet-webhook/issues/comments{/number}","contents_url":"https://api.github.com/repos/dj-wasabi/puppet-webhook/contents/{+path}","compare_url":"https://api.github.com/repos/dj-wasabi/puppet-webhook/compare/{base}...{head}","merges_url":"https://api.github.com/repos/dj-wasabi/puppet-webhook/merges","archive_url":"https://api.github.com/repos/dj-wasabi/puppet-webhook/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/dj-wasabi/puppet-webhook/downloads","issues_url":"https://api.github.com/repos/dj-wasabi/puppet-webhook/issues{/number}","pulls_url":"https://api.github.com/repos/dj-wasabi/puppet-webhook/pulls{/number}","milestones_url":"https://api.github.com/repos/dj-wasabi/puppet-webhook/milestones{/number}","notifications_url":"https://api.github.com/repos/dj-wasabi/puppet-webhook/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/dj-wasabi/puppet-webhook/labels{/name}","releases_url":"https://api.github.com/repos/dj-wasabi/puppet-webhook/releases{/id}","created_at":"2014-07-29T18:14:19Z","updated_at":"2014-09-29T22:10:07Z","pushed_at":"2014-08-28T18:51:14Z","git_url":"git://github.com/dj-wasabi/puppet-webhook.git","ssh_url":"git@github.com:dj-wasabi/puppet-webhook.git","clone_url":"https://github.com/dj-wasabi/puppet-webhook.git","svn_url":"https://github.com/dj-wasabi/puppet-webhook","homepage":null,"size":208,"stargazers_count":4,"watchers_count":4,"language":"Puppet","has_issues":true,"has_downloads":true,"has_wiki":true,"has_pages":false,"forks_count":7,"mirror_url":null,"open_issues_count":2,"forks":7,"open_issues":2,"watchers":4,"default_branch":"master"}},"_links":{"self":{"href":"https://api.github.com/repos/dj-wasabi/puppet-webhook/pulls/3"},"html":{"href":"https://github.com/dj-wasabi/puppet-webhook/pull/3"},"issue":{"href":"https://api.github.com/repos/dj-wasabi/puppet-webhook/issues/3"},"comments":{"href":"https://api.github.com/repos/dj-wasabi/puppet-webhook/issues/3/comments"},"review_comments":{"href":"https://api.github.com/repos/dj-wasabi/puppet-webhook/pulls/3/comments"},"review_comment":{"href":"https://api.github.com/repos/dj-wasabi/puppet-webhook/pulls/comments{/number}"},"commits":{"href":"https://api.github.com/repos/dj-wasabi/puppet-webhook/pulls/3/commits"},"statuses":{"href":"https://api.github.com/repos/dj-wasabi/puppet-webhook/statuses/a2abde11d7a2b2960c0481ab64b309ee5288fc3c"}},"merged":false,"mergeable":null,"mergeable_state":"unknown","merged_by":null,"comments":0,"review_comments":0,"commits":11,"additions":11,"deletions":3,"changed_files":3}}