{"action":"closed","number":309,"pull_request":{"url":"https://api.github.com/repos/puppetlabs/razor-server/pulls/309","id":37670896,"html_url":"https://github.com/puppetlabs/razor-server/pull/309","diff_url":"https://github.com/puppetlabs/razor-server/pull/309.diff","patch_url":"https://github.com/puppetlabs/razor-server/pull/309.patch","issue_url":"https://api.github.com/repos/puppetlabs/razor-server/issues/309","number":309,"state":"closed","locked":false,"title":"Find file in directory - Needed for Hooks to work","user":{"login":"ianlunam","id":2317877,"avatar_url":"https://avatars.githubusercontent.com/u/2317877?v=3","gravatar_id":"","url":"https://api.github.com/users/ianlunam","html_url":"https://github.com/ianlunam","followers_url":"https://api.github.com/users/ianlunam/followers","following_url":"https://api.github.com/users/ianlunam/following{/other_user}","gists_url":"https://api.github.com/users/ianlunam/gists{/gist_id}","starred_url":"https://api.github.com/users/ianlunam/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/ianlunam/subscriptions","organizations_url":"https://api.github.com/users/ianlunam/orgs","repos_url":"https://api.github.com/users/ianlunam/repos","events_url":"https://api.github.com/users/ianlunam/events{/privacy}","received_events_url":"https://api.github.com/users/ianlunam/received_events","type":"User","site_admin":false},"body":"Without the slash it will look for a file called hook_type.hookcause instead of cause in the hook_type.hook directory.","created_at":"2015-06-15T09:03:05Z","updated_at":"2015-07-23T07:39:46Z","closed_at":"2015-07-23T07:39:46Z","merged_at":null,"merge_commit_sha":"eddb1bccfb4d94f6b298d4dbe9a2609bcf443426","assignee":null,"milestone":null,"commits_url":"https://api.github.com/repos/puppetlabs/razor-server/pulls/309/commits","review_comments_url":"https://api.github.com/repos/puppetlabs/razor-server/pulls/309/comments","review_comment_url":"https://api.github.com/repos/puppetlabs/razor-server/pulls/comments{/number}","comments_url":"https://api.github.com/repos/puppetlabs/razor-server/issues/309/comments","statuses_url":"https://api.github.com/repos/puppetlabs/razor-server/statuses/94d7dda93d78052a210ed1e995fe577bfe8b5c96","head":{"label":"ianlunam:patch-1","ref":"patch-1","sha":"94d7dda93d78052a210ed1e995fe577bfe8b5c96","user":{"login":"ianlunam","id":2317877,"avatar_url":"https://avatars.githubusercontent.com/u/2317877?v=3","gravatar_id":"","url":"https://api.github.com/users/ianlunam","html_url":"https://github.com/ianlunam","followers_url":"https://api.github.com/users/ianlunam/followers","following_url":"https://api.github.com/users/ianlunam/following{/other_user}","gists_url":"https://api.github.com/users/ianlunam/gists{/gist_id}","starred_url":"https://api.github.com/users/ianlunam/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/ianlunam/subscriptions","organizations_url":"https://api.github.com/users/ianlunam/orgs","repos_url":"https://api.github.com/users/ianlunam/repos","events_url":"https://api.github.com/users/ianlunam/events{/privacy}","received_events_url":"https://api.github.com/users/ianlunam/received_events","type":"User","site_admin":false},"repo":{"id":37321769,"name":"razor-server","full_name":"ianlunam/razor-server","owner":{"login":"ianlunam","id":2317877,"avatar_url":"https://avatars.githubusercontent.com/u/2317877?v=3","gravatar_id":"","url":"https://api.github.com/users/ianlunam","html_url":"https://github.com/ianlunam","followers_url":"https://api.github.com/users/ianlunam/followers","following_url":"https://api.github.com/users/ianlunam/following{/other_user}","gists_url":"https://api.github.com/users/ianlunam/gists{/gist_id}","starred_url":"https://api.github.com/users/ianlunam/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/ianlunam/subscriptions","organizations_url":"https://api.github.com/users/ianlunam/orgs","repos_url":"https://api.github.com/users/ianlunam/repos","events_url":"https://api.github.com/users/ianlunam/events{/privacy}","received_events_url":"https://api.github.com/users/ianlunam/received_events","type":"User","site_admin":false},"private":false,"html_url":"https://github.com/ianlunam/razor-server","description":"Razor is next generation provisioning software that handles bare metal hardware and virtual server provisioning","fork":true,"url":"https://api.github.com/repos/ianlunam/razor-server","forks_url":"https://api.github.com/repos/ianlunam/razor-server/forks","keys_url":"https://api.github.com/repos/ianlunam/razor-server/keys{/key_id}","collaborators_url":"https://api.github.com/repos/ianlunam/razor-server/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/ianlunam/razor-server/teams","hooks_url":"https://api.github.com/repos/ianlunam/razor-server/hooks","issue_events_url":"https://api.github.com/repos/ianlunam/razor-server/issues/events{/number}","events_url":"https://api.github.com/repos/ianlunam/razor-server/events","assignees_url":"https://api.github.com/repos/ianlunam/razor-server/assignees{/user}","branches_url":"https://api.github.com/repos/ianlunam/razor-server/branches{/branch}","tags_url":"https://api.github.com/repos/ianlunam/razor-server/tags","blobs_url":"https://api.github.com/repos/ianlunam/razor-server/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/ianlunam/razor-server/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/ianlunam/razor-server/git/refs{/sha}","trees_url":"https://api.github.com/repos/ianlunam/razor-server/git/trees{/sha}","statuses_url":"https://api.github.com/repos/ianlunam/razor-server/statuses/{sha}","languages_url":"https://api.github.com/repos/ianlunam/razor-server/languages","stargazers_url":"https://api.github.com/repos/ianlunam/razor-server/stargazers","contributors_url":"https://api.github.com/repos/ianlunam/razor-server/contributors","subscribers_url":"https://api.github.com/repos/ianlunam/razor-server/subscribers","subscription_url":"https://api.github.com/repos/ianlunam/razor-server/subscription","commits_url":"https://api.github.com/repos/ianlunam/razor-server/commits{/sha}","git_commits_url":"https://api.github.com/repos/ianlunam/razor-server/git/commits{/sha}","comments_url":"https://api.github.com/repos/ianlunam/razor-server/comments{/number}","issue_comment_url":"https://api.github.com/repos/ianlunam/razor-server/issues/comments{/number}","contents_url":"https://api.github.com/repos/ianlunam/razor-server/contents/{+path}","compare_url":"https://api.github.com/repos/ianlunam/razor-server/compare/{base}...{head}","merges_url":"https://api.github.com/repos/ianlunam/razor-server/merges","archive_url":"https://api.github.com/repos/ianlunam/razor-server/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/ianlunam/razor-server/downloads","issues_url":"https://api.github.com/repos/ianlunam/razor-server/issues{/number}","pulls_url":"https://api.github.com/repos/ianlunam/razor-server/pulls{/number}","milestones_url":"https://api.github.com/repos/ianlunam/razor-server/milestones{/number}","notifications_url":"https://api.github.com/repos/ianlunam/razor-server/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/ianlunam/razor-server/labels{/name}","releases_url":"https://api.github.com/repos/ianlunam/razor-server/releases{/id}","created_at":"2015-06-12T12:53:52Z","updated_at":"2015-06-12T12:53:53Z","pushed_at":"2015-07-22T15:33:03Z","git_url":"git://github.com/ianlunam/razor-server.git","ssh_url":"git@github.com:ianlunam/razor-server.git","clone_url":"https://github.com/ianlunam/razor-server.git","svn_url":"https://github.com/ianlunam/razor-server","homepage":"","size":2896,"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":"puppetlabs:master","ref":"master","sha":"ea92e791f6c2d3f3dd9cfcefdb878020d9a13636","user":{"login":"puppetlabs","id":234268,"avatar_url":"https://avatars.githubusercontent.com/u/234268?v=3","gravatar_id":"","url":"https://api.github.com/users/puppetlabs","html_url":"https://github.com/puppetlabs","followers_url":"https://api.github.com/users/puppetlabs/followers","following_url":"https://api.github.com/users/puppetlabs/following{/other_user}","gists_url":"https://api.github.com/users/puppetlabs/gists{/gist_id}","starred_url":"https://api.github.com/users/puppetlabs/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/puppetlabs/subscriptions","organizations_url":"https://api.github.com/users/puppetlabs/orgs","repos_url":"https://api.github.com/users/puppetlabs/repos","events_url":"https://api.github.com/users/puppetlabs/events{/privacy}","received_events_url":"https://api.github.com/users/puppetlabs/received_events","type":"Organization","site_admin":false},"repo":{"id":10631737,"name":"razor-server","full_name":"puppetlabs/razor-server","owner":{"login":"puppetlabs","id":234268,"avatar_url":"https://avatars.githubusercontent.com/u/234268?v=3","gravatar_id":"","url":"https://api.github.com/users/puppetlabs","html_url":"https://github.com/puppetlabs","followers_url":"https://api.github.com/users/puppetlabs/followers","following_url":"https://api.github.com/users/puppetlabs/following{/other_user}","gists_url":"https://api.github.com/users/puppetlabs/gists{/gist_id}","starred_url":"https://api.github.com/users/puppetlabs/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/puppetlabs/subscriptions","organizations_url":"https://api.github.com/users/puppetlabs/orgs","repos_url":"https://api.github.com/users/puppetlabs/repos","events_url":"https://api.github.com/users/puppetlabs/events{/privacy}","received_events_url":"https://api.github.com/users/puppetlabs/received_events","type":"Organization","site_admin":false},"private":false,"html_url":"https://github.com/puppetlabs/razor-server","description":"Razor is next generation provisioning software that handles bare metal hardware and virtual server provisioning","fork":false,"url":"https://api.github.com/repos/puppetlabs/razor-server","forks_url":"https://api.github.com/repos/puppetlabs/razor-server/forks","keys_url":"https://api.github.com/repos/puppetlabs/razor-server/keys{/key_id}","collaborators_url":"https://api.github.com/repos/puppetlabs/razor-server/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/puppetlabs/razor-server/teams","hooks_url":"https://api.github.com/repos/puppetlabs/razor-server/hooks","issue_events_url":"https://api.github.com/repos/puppetlabs/razor-server/issues/events{/number}","events_url":"https://api.github.com/repos/puppetlabs/razor-server/events","assignees_url":"https://api.github.com/repos/puppetlabs/razor-server/assignees{/user}","branches_url":"https://api.github.com/repos/puppetlabs/razor-server/branches{/branch}","tags_url":"https://api.github.com/repos/puppetlabs/razor-server/tags","blobs_url":"https://api.github.com/repos/puppetlabs/razor-server/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/puppetlabs/razor-server/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/puppetlabs/razor-server/git/refs{/sha}","trees_url":"https://api.github.com/repos/puppetlabs/razor-server/git/trees{/sha}","statuses_url":"https://api.github.com/repos/puppetlabs/razor-server/statuses/{sha}","languages_url":"https://api.github.com/repos/puppetlabs/razor-server/languages","stargazers_url":"https://api.github.com/repos/puppetlabs/razor-server/stargazers","contributors_url":"https://api.github.com/repos/puppetlabs/razor-server/contributors","subscribers_url":"https://api.github.com/repos/puppetlabs/razor-server/subscribers","subscription_url":"https://api.github.com/repos/puppetlabs/razor-server/subscription","commits_url":"https://api.github.com/repos/puppetlabs/razor-server/commits{/sha}","git_commits_url":"https://api.github.com/repos/puppetlabs/razor-server/git/commits{/sha}","comments_url":"https://api.github.com/repos/puppetlabs/razor-server/comments{/number}","issue_comment_url":"https://api.github.com/repos/puppetlabs/razor-server/issues/comments{/number}","contents_url":"https://api.github.com/repos/puppetlabs/razor-server/contents/{+path}","compare_url":"https://api.github.com/repos/puppetlabs/razor-server/compare/{base}...{head}","merges_url":"https://api.github.com/repos/puppetlabs/razor-server/merges","archive_url":"https://api.github.com/repos/puppetlabs/razor-server/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/puppetlabs/razor-server/downloads","issues_url":"https://api.github.com/repos/puppetlabs/razor-server/issues{/number}","pulls_url":"https://api.github.com/repos/puppetlabs/razor-server/pulls{/number}","milestones_url":"https://api.github.com/repos/puppetlabs/razor-server/milestones{/number}","notifications_url":"https://api.github.com/repos/puppetlabs/razor-server/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/puppetlabs/razor-server/labels{/name}","releases_url":"https://api.github.com/repos/puppetlabs/razor-server/releases{/id}","created_at":"2013-06-11T21:55:35Z","updated_at":"2015-07-21T06:36:06Z","pushed_at":"2015-07-22T17:41:36Z","git_url":"git://github.com/puppetlabs/razor-server.git","ssh_url":"git@github.com:puppetlabs/razor-server.git","clone_url":"https://github.com/puppetlabs/razor-server.git","svn_url":"https://github.com/puppetlabs/razor-server","homepage":"","size":6572,"stargazers_count":274,"watchers_count":274,"language":"Ruby","has_issues":false,"has_downloads":true,"has_wiki":true,"has_pages":false,"forks_count":97,"mirror_url":null,"open_issues_count":13,"forks":97,"open_issues":13,"watchers":274,"default_branch":"master"}},"_links":{"self":{"href":"https://api.github.com/repos/puppetlabs/razor-server/pulls/309"},"html":{"href":"https://github.com/puppetlabs/razor-server/pull/309"},"issue":{"href":"https://api.github.com/repos/puppetlabs/razor-server/issues/309"},"comments":{"href":"https://api.github.com/repos/puppetlabs/razor-server/issues/309/comments"},"review_comments":{"href":"https://api.github.com/repos/puppetlabs/razor-server/pulls/309/comments"},"review_comment":{"href":"https://api.github.com/repos/puppetlabs/razor-server/pulls/comments{/number}"},"commits":{"href":"https://api.github.com/repos/puppetlabs/razor-server/pulls/309/commits"},"statuses":{"href":"https://api.github.com/repos/puppetlabs/razor-server/statuses/94d7dda93d78052a210ed1e995fe577bfe8b5c96"}},"merged":false,"mergeable":true,"mergeable_state":"clean","merged_by":null,"comments":2,"review_comments":0,"commits":1,"additions":1,"deletions":1,"changed_files":1}}