{"action":"opened","number":122,"pull_request":{"url":"https://api.github.com/repos/opscode-cookbooks/tomcat/pulls/122","id":28327961,"html_url":"https://github.com/opscode-cookbooks/tomcat/pull/122","diff_url":"https://github.com/opscode-cookbooks/tomcat/pull/122.diff","patch_url":"https://github.com/opscode-cookbooks/tomcat/pull/122.patch","issue_url":"https://api.github.com/repos/opscode-cookbooks/tomcat/issues/122","number":122,"state":"open","locked":false,"title":"Ensure CATALINA_PID takes effect for instances on RHEL","user":{"login":"chewi","id":35072,"avatar_url":"https://avatars.githubusercontent.com/u/35072?v=3","gravatar_id":"","url":"https://api.github.com/users/chewi","html_url":"https://github.com/chewi","followers_url":"https://api.github.com/users/chewi/followers","following_url":"https://api.github.com/users/chewi/following{/other_user}","gists_url":"https://api.github.com/users/chewi/gists{/gist_id}","starred_url":"https://api.github.com/users/chewi/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/chewi/subscriptions","organizations_url":"https://api.github.com/users/chewi/orgs","repos_url":"https://api.github.com/users/chewi/repos","events_url":"https://api.github.com/users/chewi/events{/privacy}","received_events_url":"https://api.github.com/users/chewi/received_events","type":"User","site_admin":false},"body":"Under RHEL 7, `/usr/sbin/tomcat-sysd` sets `CATALINA_PID` for the given\r\ninstance but it is erroneously replaced with the default value from\r\n`/etc/tomcat/tomcat.conf`. The only way to work around this is to also\r\nset it in the instance's sysconfig file.\r\n\r\nThis doesn't change the fact that `/var/run` is only writeable by root.\r\nAny new PID files need to be put in place beforehand as the script\r\ndoes not set the correct permissions for us. It actually says it does\r\nin the comments… but it doesn't! This is fixed here with a file\r\nresource.\r\n\r\nRecent Fedora releases use JSVC to launch Tomcat instead so all this\r\nwill most likely change in RHEL 8.","created_at":"2015-01-30T00:18:25Z","updated_at":"2015-01-30T00:18:25Z","closed_at":null,"merged_at":null,"merge_commit_sha":null,"assignee":null,"milestone":null,"commits_url":"https://api.github.com/repos/opscode-cookbooks/tomcat/pulls/122/commits","review_comments_url":"https://api.github.com/repos/opscode-cookbooks/tomcat/pulls/122/comments","review_comment_url":"https://api.github.com/repos/opscode-cookbooks/tomcat/pulls/comments/{number}","comments_url":"https://api.github.com/repos/opscode-cookbooks/tomcat/issues/122/comments","statuses_url":"https://api.github.com/repos/opscode-cookbooks/tomcat/statuses/39f21b914750a9c96f8b0bb9417e1042d743225e","head":{"label":"yakara-ltd:rhel-pidfile","ref":"rhel-pidfile","sha":"39f21b914750a9c96f8b0bb9417e1042d743225e","user":{"login":"yakara-ltd","id":10127983,"avatar_url":"https://avatars.githubusercontent.com/u/10127983?v=3","gravatar_id":"","url":"https://api.github.com/users/yakara-ltd","html_url":"https://github.com/yakara-ltd","followers_url":"https://api.github.com/users/yakara-ltd/followers","following_url":"https://api.github.com/users/yakara-ltd/following{/other_user}","gists_url":"https://api.github.com/users/yakara-ltd/gists{/gist_id}","starred_url":"https://api.github.com/users/yakara-ltd/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/yakara-ltd/subscriptions","organizations_url":"https://api.github.com/users/yakara-ltd/orgs","repos_url":"https://api.github.com/users/yakara-ltd/repos","events_url":"https://api.github.com/users/yakara-ltd/events{/privacy}","received_events_url":"https://api.github.com/users/yakara-ltd/received_events","type":"Organization","site_admin":false},"repo":{"id":27761383,"name":"tomcat","full_name":"yakara-ltd/tomcat","owner":{"login":"yakara-ltd","id":10127983,"avatar_url":"https://avatars.githubusercontent.com/u/10127983?v=3","gravatar_id":"","url":"https://api.github.com/users/yakara-ltd","html_url":"https://github.com/yakara-ltd","followers_url":"https://api.github.com/users/yakara-ltd/followers","following_url":"https://api.github.com/users/yakara-ltd/following{/other_user}","gists_url":"https://api.github.com/users/yakara-ltd/gists{/gist_id}","starred_url":"https://api.github.com/users/yakara-ltd/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/yakara-ltd/subscriptions","organizations_url":"https://api.github.com/users/yakara-ltd/orgs","repos_url":"https://api.github.com/users/yakara-ltd/repos","events_url":"https://api.github.com/users/yakara-ltd/events{/privacy}","received_events_url":"https://api.github.com/users/yakara-ltd/received_events","type":"Organization","site_admin":false},"private":false,"html_url":"https://github.com/yakara-ltd/tomcat","description":"Development repository for Opscode Cookbook tomcat","fork":true,"url":"https://api.github.com/repos/yakara-ltd/tomcat","forks_url":"https://api.github.com/repos/yakara-ltd/tomcat/forks","keys_url":"https://api.github.com/repos/yakara-ltd/tomcat/keys{/key_id}","collaborators_url":"https://api.github.com/repos/yakara-ltd/tomcat/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/yakara-ltd/tomcat/teams","hooks_url":"https://api.github.com/repos/yakara-ltd/tomcat/hooks","issue_events_url":"https://api.github.com/repos/yakara-ltd/tomcat/issues/events{/number}","events_url":"https://api.github.com/repos/yakara-ltd/tomcat/events","assignees_url":"https://api.github.com/repos/yakara-ltd/tomcat/assignees{/user}","branches_url":"https://api.github.com/repos/yakara-ltd/tomcat/branches{/branch}","tags_url":"https://api.github.com/repos/yakara-ltd/tomcat/tags","blobs_url":"https://api.github.com/repos/yakara-ltd/tomcat/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/yakara-ltd/tomcat/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/yakara-ltd/tomcat/git/refs{/sha}","trees_url":"https://api.github.com/repos/yakara-ltd/tomcat/git/trees{/sha}","statuses_url":"https://api.github.com/repos/yakara-ltd/tomcat/statuses/{sha}","languages_url":"https://api.github.com/repos/yakara-ltd/tomcat/languages","stargazers_url":"https://api.github.com/repos/yakara-ltd/tomcat/stargazers","contributors_url":"https://api.github.com/repos/yakara-ltd/tomcat/contributors","subscribers_url":"https://api.github.com/repos/yakara-ltd/tomcat/subscribers","subscription_url":"https://api.github.com/repos/yakara-ltd/tomcat/subscription","commits_url":"https://api.github.com/repos/yakara-ltd/tomcat/commits{/sha}","git_commits_url":"https://api.github.com/repos/yakara-ltd/tomcat/git/commits{/sha}","comments_url":"https://api.github.com/repos/yakara-ltd/tomcat/comments{/number}","issue_comment_url":"https://api.github.com/repos/yakara-ltd/tomcat/issues/comments/{number}","contents_url":"https://api.github.com/repos/yakara-ltd/tomcat/contents/{+path}","compare_url":"https://api.github.com/repos/yakara-ltd/tomcat/compare/{base}...{head}","merges_url":"https://api.github.com/repos/yakara-ltd/tomcat/merges","archive_url":"https://api.github.com/repos/yakara-ltd/tomcat/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/yakara-ltd/tomcat/downloads","issues_url":"https://api.github.com/repos/yakara-ltd/tomcat/issues{/number}","pulls_url":"https://api.github.com/repos/yakara-ltd/tomcat/pulls{/number}","milestones_url":"https://api.github.com/repos/yakara-ltd/tomcat/milestones{/number}","notifications_url":"https://api.github.com/repos/yakara-ltd/tomcat/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/yakara-ltd/tomcat/labels{/name}","releases_url":"https://api.github.com/repos/yakara-ltd/tomcat/releases{/id}","created_at":"2014-12-09T10:27:51Z","updated_at":"2014-12-09T10:27:53Z","pushed_at":"2015-01-30T00:17:15Z","git_url":"git://github.com/yakara-ltd/tomcat.git","ssh_url":"git@github.com:yakara-ltd/tomcat.git","clone_url":"https://github.com/yakara-ltd/tomcat.git","svn_url":"https://github.com/yakara-ltd/tomcat","homepage":"http://supermarket.getchef.com/cookbooks/tomcat","size":283,"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":"opscode-cookbooks:master","ref":"master","sha":"6d008e185c48e7f0d34ab67d404c1aae0c9cca5e","user":{"login":"opscode-cookbooks","id":1537126,"avatar_url":"https://avatars.githubusercontent.com/u/1537126?v=3","gravatar_id":"","url":"https://api.github.com/users/opscode-cookbooks","html_url":"https://github.com/opscode-cookbooks","followers_url":"https://api.github.com/users/opscode-cookbooks/followers","following_url":"https://api.github.com/users/opscode-cookbooks/following{/other_user}","gists_url":"https://api.github.com/users/opscode-cookbooks/gists{/gist_id}","starred_url":"https://api.github.com/users/opscode-cookbooks/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/opscode-cookbooks/subscriptions","organizations_url":"https://api.github.com/users/opscode-cookbooks/orgs","repos_url":"https://api.github.com/users/opscode-cookbooks/repos","events_url":"https://api.github.com/users/opscode-cookbooks/events{/privacy}","received_events_url":"https://api.github.com/users/opscode-cookbooks/received_events","type":"Organization","site_admin":false},"repo":{"id":3720933,"name":"tomcat","full_name":"opscode-cookbooks/tomcat","owner":{"login":"opscode-cookbooks","id":1537126,"avatar_url":"https://avatars.githubusercontent.com/u/1537126?v=3","gravatar_id":"","url":"https://api.github.com/users/opscode-cookbooks","html_url":"https://github.com/opscode-cookbooks","followers_url":"https://api.github.com/users/opscode-cookbooks/followers","following_url":"https://api.github.com/users/opscode-cookbooks/following{/other_user}","gists_url":"https://api.github.com/users/opscode-cookbooks/gists{/gist_id}","starred_url":"https://api.github.com/users/opscode-cookbooks/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/opscode-cookbooks/subscriptions","organizations_url":"https://api.github.com/users/opscode-cookbooks/orgs","repos_url":"https://api.github.com/users/opscode-cookbooks/repos","events_url":"https://api.github.com/users/opscode-cookbooks/events{/privacy}","received_events_url":"https://api.github.com/users/opscode-cookbooks/received_events","type":"Organization","site_admin":false},"private":false,"html_url":"https://github.com/opscode-cookbooks/tomcat","description":"Development repository for Opscode Cookbook tomcat","fork":false,"url":"https://api.github.com/repos/opscode-cookbooks/tomcat","forks_url":"https://api.github.com/repos/opscode-cookbooks/tomcat/forks","keys_url":"https://api.github.com/repos/opscode-cookbooks/tomcat/keys{/key_id}","collaborators_url":"https://api.github.com/repos/opscode-cookbooks/tomcat/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/opscode-cookbooks/tomcat/teams","hooks_url":"https://api.github.com/repos/opscode-cookbooks/tomcat/hooks","issue_events_url":"https://api.github.com/repos/opscode-cookbooks/tomcat/issues/events{/number}","events_url":"https://api.github.com/repos/opscode-cookbooks/tomcat/events","assignees_url":"https://api.github.com/repos/opscode-cookbooks/tomcat/assignees{/user}","branches_url":"https://api.github.com/repos/opscode-cookbooks/tomcat/branches{/branch}","tags_url":"https://api.github.com/repos/opscode-cookbooks/tomcat/tags","blobs_url":"https://api.github.com/repos/opscode-cookbooks/tomcat/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/opscode-cookbooks/tomcat/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/opscode-cookbooks/tomcat/git/refs{/sha}","trees_url":"https://api.github.com/repos/opscode-cookbooks/tomcat/git/trees{/sha}","statuses_url":"https://api.github.com/repos/opscode-cookbooks/tomcat/statuses/{sha}","languages_url":"https://api.github.com/repos/opscode-cookbooks/tomcat/languages","stargazers_url":"https://api.github.com/repos/opscode-cookbooks/tomcat/stargazers","contributors_url":"https://api.github.com/repos/opscode-cookbooks/tomcat/contributors","subscribers_url":"https://api.github.com/repos/opscode-cookbooks/tomcat/subscribers","subscription_url":"https://api.github.com/repos/opscode-cookbooks/tomcat/subscription","commits_url":"https://api.github.com/repos/opscode-cookbooks/tomcat/commits{/sha}","git_commits_url":"https://api.github.com/repos/opscode-cookbooks/tomcat/git/commits{/sha}","comments_url":"https://api.github.com/repos/opscode-cookbooks/tomcat/comments{/number}","issue_comment_url":"https://api.github.com/repos/opscode-cookbooks/tomcat/issues/comments/{number}","contents_url":"https://api.github.com/repos/opscode-cookbooks/tomcat/contents/{+path}","compare_url":"https://api.github.com/repos/opscode-cookbooks/tomcat/compare/{base}...{head}","merges_url":"https://api.github.com/repos/opscode-cookbooks/tomcat/merges","archive_url":"https://api.github.com/repos/opscode-cookbooks/tomcat/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/opscode-cookbooks/tomcat/downloads","issues_url":"https://api.github.com/repos/opscode-cookbooks/tomcat/issues{/number}","pulls_url":"https://api.github.com/repos/opscode-cookbooks/tomcat/pulls{/number}","milestones_url":"https://api.github.com/repos/opscode-cookbooks/tomcat/milestones{/number}","notifications_url":"https://api.github.com/repos/opscode-cookbooks/tomcat/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/opscode-cookbooks/tomcat/labels{/name}","releases_url":"https://api.github.com/repos/opscode-cookbooks/tomcat/releases{/id}","created_at":"2012-03-14T18:40:25Z","updated_at":"2015-01-09T16:50:02Z","pushed_at":"2014-12-11T18:17:28Z","git_url":"git://github.com/opscode-cookbooks/tomcat.git","ssh_url":"git@github.com:opscode-cookbooks/tomcat.git","clone_url":"https://github.com/opscode-cookbooks/tomcat.git","svn_url":"https://github.com/opscode-cookbooks/tomcat","homepage":"http://supermarket.getchef.com/cookbooks/tomcat","size":1315,"stargazers_count":61,"watchers_count":61,"language":"Ruby","has_issues":true,"has_downloads":true,"has_wiki":true,"has_pages":false,"forks_count":190,"mirror_url":null,"open_issues_count":57,"forks":190,"open_issues":57,"watchers":61,"default_branch":"master"}},"_links":{"self":{"href":"https://api.github.com/repos/opscode-cookbooks/tomcat/pulls/122"},"html":{"href":"https://github.com/opscode-cookbooks/tomcat/pull/122"},"issue":{"href":"https://api.github.com/repos/opscode-cookbooks/tomcat/issues/122"},"comments":{"href":"https://api.github.com/repos/opscode-cookbooks/tomcat/issues/122/comments"},"review_comments":{"href":"https://api.github.com/repos/opscode-cookbooks/tomcat/pulls/122/comments"},"review_comment":{"href":"https://api.github.com/repos/opscode-cookbooks/tomcat/pulls/comments/{number}"},"commits":{"href":"https://api.github.com/repos/opscode-cookbooks/tomcat/pulls/122/commits"},"statuses":{"href":"https://api.github.com/repos/opscode-cookbooks/tomcat/statuses/39f21b914750a9c96f8b0bb9417e1042d743225e"}},"merged":false,"mergeable":null,"mergeable_state":"unknown","merged_by":null,"comments":0,"review_comments":0,"commits":1,"additions":8,"deletions":1,"changed_files":2}}