{"action":"opened","number":1443,"pull_request":{"url":"https://api.github.com/repos/cargomedia/puppet-packages/pulls/1443","id":81684682,"html_url":"https://github.com/cargomedia/puppet-packages/pull/1443","diff_url":"https://github.com/cargomedia/puppet-packages/pull/1443.diff","patch_url":"https://github.com/cargomedia/puppet-packages/pull/1443.patch","issue_url":"https://api.github.com/repos/cargomedia/puppet-packages/issues/1443","number":1443,"state":"open","locked":false,"title":"Add foreman module","user":{"login":"tomaszdurka","id":113303,"avatar_url":"https://avatars.githubusercontent.com/u/113303?v=3","gravatar_id":"","url":"https://api.github.com/users/tomaszdurka","html_url":"https://github.com/tomaszdurka","followers_url":"https://api.github.com/users/tomaszdurka/followers","following_url":"https://api.github.com/users/tomaszdurka/following{/other_user}","gists_url":"https://api.github.com/users/tomaszdurka/gists{/gist_id}","starred_url":"https://api.github.com/users/tomaszdurka/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/tomaszdurka/subscriptions","organizations_url":"https://api.github.com/users/tomaszdurka/orgs","repos_url":"https://api.github.com/users/tomaszdurka/repos","events_url":"https://api.github.com/users/tomaszdurka/events{/privacy}","received_events_url":"https://api.github.com/users/tomaszdurka/received_events","type":"User","site_admin":false},"body":"https://github.com/ddollar/foreman/\r\nFor Debian 8.\r\n\r\n---\r\nPlus a convenient wrapper `foreman-systemd` for systemd:\r\n\r\n**install**:\r\n```\r\nforeman-systemd install --user <user> <app-name> <Procfile-path>\r\n```\r\nWhich runs:\r\n```sh\r\n# Uninstall:\r\nrm -rf /etc/systemd/system/app-<app-name>*\r\n\r\n# Install:\r\nforeman export --user <user> --app app-<app-name> --root <Procfile-dir> systemd /etc/systemd/system\r\n```\r\n\r\n**start**:\r\n```\r\nforeman-systemd start <app-name>\r\n```\r\nWhich runs:\r\n```sh\r\nsystemctl start app-<app-name>.target\r\nsystemctl enable app-<app-name>.target\r\n```\r\n\r\n**stop**:\r\n```\r\nforeman-systemd stop <app-name>\r\n```\r\nWhich runs:\r\n```sh\r\nsystemctl disable app-<app-name>.target\r\nsystemctl stop app-<app-name>.target\r\n```\r\n\r\n\r\n**reload**:\r\n```\r\nforeman-systemd reload --user <user> <app-name> <Procfile-path>\r\n```\r\nWhich runs:\r\n```sh\r\nstop()\r\ninstall()\r\nstart()\r\n```","created_at":"2016-08-17T17:37:29Z","updated_at":"2016-08-17T17:37:29Z","closed_at":null,"merged_at":null,"merge_commit_sha":null,"assignee":{"login":"tomaszdurka","id":113303,"avatar_url":"https://avatars.githubusercontent.com/u/113303?v=3","gravatar_id":"","url":"https://api.github.com/users/tomaszdurka","html_url":"https://github.com/tomaszdurka","followers_url":"https://api.github.com/users/tomaszdurka/followers","following_url":"https://api.github.com/users/tomaszdurka/following{/other_user}","gists_url":"https://api.github.com/users/tomaszdurka/gists{/gist_id}","starred_url":"https://api.github.com/users/tomaszdurka/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/tomaszdurka/subscriptions","organizations_url":"https://api.github.com/users/tomaszdurka/orgs","repos_url":"https://api.github.com/users/tomaszdurka/repos","events_url":"https://api.github.com/users/tomaszdurka/events{/privacy}","received_events_url":"https://api.github.com/users/tomaszdurka/received_events","type":"User","site_admin":false},"assignees":[{"login":"tomaszdurka","id":113303,"avatar_url":"https://avatars.githubusercontent.com/u/113303?v=3","gravatar_id":"","url":"https://api.github.com/users/tomaszdurka","html_url":"https://github.com/tomaszdurka","followers_url":"https://api.github.com/users/tomaszdurka/followers","following_url":"https://api.github.com/users/tomaszdurka/following{/other_user}","gists_url":"https://api.github.com/users/tomaszdurka/gists{/gist_id}","starred_url":"https://api.github.com/users/tomaszdurka/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/tomaszdurka/subscriptions","organizations_url":"https://api.github.com/users/tomaszdurka/orgs","repos_url":"https://api.github.com/users/tomaszdurka/repos","events_url":"https://api.github.com/users/tomaszdurka/events{/privacy}","received_events_url":"https://api.github.com/users/tomaszdurka/received_events","type":"User","site_admin":false}],"milestone":null,"commits_url":"https://api.github.com/repos/cargomedia/puppet-packages/pulls/1443/commits","review_comments_url":"https://api.github.com/repos/cargomedia/puppet-packages/pulls/1443/comments","review_comment_url":"https://api.github.com/repos/cargomedia/puppet-packages/pulls/comments{/number}","comments_url":"https://api.github.com/repos/cargomedia/puppet-packages/issues/1443/comments","statuses_url":"https://api.github.com/repos/cargomedia/puppet-packages/statuses/09c4b14001e91489e651c0b9eada482b54af668c","head":{"label":"tomaszdurka:issue-1443","ref":"issue-1443","sha":"09c4b14001e91489e651c0b9eada482b54af668c","user":{"login":"tomaszdurka","id":113303,"avatar_url":"https://avatars.githubusercontent.com/u/113303?v=3","gravatar_id":"","url":"https://api.github.com/users/tomaszdurka","html_url":"https://github.com/tomaszdurka","followers_url":"https://api.github.com/users/tomaszdurka/followers","following_url":"https://api.github.com/users/tomaszdurka/following{/other_user}","gists_url":"https://api.github.com/users/tomaszdurka/gists{/gist_id}","starred_url":"https://api.github.com/users/tomaszdurka/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/tomaszdurka/subscriptions","organizations_url":"https://api.github.com/users/tomaszdurka/orgs","repos_url":"https://api.github.com/users/tomaszdurka/repos","events_url":"https://api.github.com/users/tomaszdurka/events{/privacy}","received_events_url":"https://api.github.com/users/tomaszdurka/received_events","type":"User","site_admin":false},"repo":{"id":10485341,"name":"puppet-packages","full_name":"tomaszdurka/puppet-packages","owner":{"login":"tomaszdurka","id":113303,"avatar_url":"https://avatars.githubusercontent.com/u/113303?v=3","gravatar_id":"","url":"https://api.github.com/users/tomaszdurka","html_url":"https://github.com/tomaszdurka","followers_url":"https://api.github.com/users/tomaszdurka/followers","following_url":"https://api.github.com/users/tomaszdurka/following{/other_user}","gists_url":"https://api.github.com/users/tomaszdurka/gists{/gist_id}","starred_url":"https://api.github.com/users/tomaszdurka/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/tomaszdurka/subscriptions","organizations_url":"https://api.github.com/users/tomaszdurka/orgs","repos_url":"https://api.github.com/users/tomaszdurka/repos","events_url":"https://api.github.com/users/tomaszdurka/events{/privacy}","received_events_url":"https://api.github.com/users/tomaszdurka/received_events","type":"User","site_admin":false},"private":false,"html_url":"https://github.com/tomaszdurka/puppet-packages","description":"","fork":true,"url":"https://api.github.com/repos/tomaszdurka/puppet-packages","forks_url":"https://api.github.com/repos/tomaszdurka/puppet-packages/forks","keys_url":"https://api.github.com/repos/tomaszdurka/puppet-packages/keys{/key_id}","collaborators_url":"https://api.github.com/repos/tomaszdurka/puppet-packages/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/tomaszdurka/puppet-packages/teams","hooks_url":"https://api.github.com/repos/tomaszdurka/puppet-packages/hooks","issue_events_url":"https://api.github.com/repos/tomaszdurka/puppet-packages/issues/events{/number}","events_url":"https://api.github.com/repos/tomaszdurka/puppet-packages/events","assignees_url":"https://api.github.com/repos/tomaszdurka/puppet-packages/assignees{/user}","branches_url":"https://api.github.com/repos/tomaszdurka/puppet-packages/branches{/branch}","tags_url":"https://api.github.com/repos/tomaszdurka/puppet-packages/tags","blobs_url":"https://api.github.com/repos/tomaszdurka/puppet-packages/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/tomaszdurka/puppet-packages/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/tomaszdurka/puppet-packages/git/refs{/sha}","trees_url":"https://api.github.com/repos/tomaszdurka/puppet-packages/git/trees{/sha}","statuses_url":"https://api.github.com/repos/tomaszdurka/puppet-packages/statuses/{sha}","languages_url":"https://api.github.com/repos/tomaszdurka/puppet-packages/languages","stargazers_url":"https://api.github.com/repos/tomaszdurka/puppet-packages/stargazers","contributors_url":"https://api.github.com/repos/tomaszdurka/puppet-packages/contributors","subscribers_url":"https://api.github.com/repos/tomaszdurka/puppet-packages/subscribers","subscription_url":"https://api.github.com/repos/tomaszdurka/puppet-packages/subscription","commits_url":"https://api.github.com/repos/tomaszdurka/puppet-packages/commits{/sha}","git_commits_url":"https://api.github.com/repos/tomaszdurka/puppet-packages/git/commits{/sha}","comments_url":"https://api.github.com/repos/tomaszdurka/puppet-packages/comments{/number}","issue_comment_url":"https://api.github.com/repos/tomaszdurka/puppet-packages/issues/comments{/number}","contents_url":"https://api.github.com/repos/tomaszdurka/puppet-packages/contents/{+path}","compare_url":"https://api.github.com/repos/tomaszdurka/puppet-packages/compare/{base}...{head}","merges_url":"https://api.github.com/repos/tomaszdurka/puppet-packages/merges","archive_url":"https://api.github.com/repos/tomaszdurka/puppet-packages/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/tomaszdurka/puppet-packages/downloads","issues_url":"https://api.github.com/repos/tomaszdurka/puppet-packages/issues{/number}","pulls_url":"https://api.github.com/repos/tomaszdurka/puppet-packages/pulls{/number}","milestones_url":"https://api.github.com/repos/tomaszdurka/puppet-packages/milestones{/number}","notifications_url":"https://api.github.com/repos/tomaszdurka/puppet-packages/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/tomaszdurka/puppet-packages/labels{/name}","releases_url":"https://api.github.com/repos/tomaszdurka/puppet-packages/releases{/id}","deployments_url":"https://api.github.com/repos/tomaszdurka/puppet-packages/deployments","created_at":"2013-06-04T18:10:18Z","updated_at":"2016-03-01T13:24:26Z","pushed_at":"2016-08-17T17:37:28Z","git_url":"git://github.com/tomaszdurka/puppet-packages.git","ssh_url":"git@github.com:tomaszdurka/puppet-packages.git","clone_url":"https://github.com/tomaszdurka/puppet-packages.git","svn_url":"https://github.com/tomaszdurka/puppet-packages","homepage":null,"size":4344,"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":"cargomedia:master","ref":"master","sha":"a1f88825b70d0623278776bf97d4034faab08d60","user":{"login":"cargomedia","id":1699929,"avatar_url":"https://avatars.githubusercontent.com/u/1699929?v=3","gravatar_id":"","url":"https://api.github.com/users/cargomedia","html_url":"https://github.com/cargomedia","followers_url":"https://api.github.com/users/cargomedia/followers","following_url":"https://api.github.com/users/cargomedia/following{/other_user}","gists_url":"https://api.github.com/users/cargomedia/gists{/gist_id}","starred_url":"https://api.github.com/users/cargomedia/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/cargomedia/subscriptions","organizations_url":"https://api.github.com/users/cargomedia/orgs","repos_url":"https://api.github.com/users/cargomedia/repos","events_url":"https://api.github.com/users/cargomedia/events{/privacy}","received_events_url":"https://api.github.com/users/cargomedia/received_events","type":"Organization","site_admin":false},"repo":{"id":10485244,"name":"puppet-packages","full_name":"cargomedia/puppet-packages","owner":{"login":"cargomedia","id":1699929,"avatar_url":"https://avatars.githubusercontent.com/u/1699929?v=3","gravatar_id":"","url":"https://api.github.com/users/cargomedia","html_url":"https://github.com/cargomedia","followers_url":"https://api.github.com/users/cargomedia/followers","following_url":"https://api.github.com/users/cargomedia/following{/other_user}","gists_url":"https://api.github.com/users/cargomedia/gists{/gist_id}","starred_url":"https://api.github.com/users/cargomedia/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/cargomedia/subscriptions","organizations_url":"https://api.github.com/users/cargomedia/orgs","repos_url":"https://api.github.com/users/cargomedia/repos","events_url":"https://api.github.com/users/cargomedia/events{/privacy}","received_events_url":"https://api.github.com/users/cargomedia/received_events","type":"Organization","site_admin":false},"private":false,"html_url":"https://github.com/cargomedia/puppet-packages","description":"Reusable puppet modules for Debian","fork":false,"url":"https://api.github.com/repos/cargomedia/puppet-packages","forks_url":"https://api.github.com/repos/cargomedia/puppet-packages/forks","keys_url":"https://api.github.com/repos/cargomedia/puppet-packages/keys{/key_id}","collaborators_url":"https://api.github.com/repos/cargomedia/puppet-packages/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/cargomedia/puppet-packages/teams","hooks_url":"https://api.github.com/repos/cargomedia/puppet-packages/hooks","issue_events_url":"https://api.github.com/repos/cargomedia/puppet-packages/issues/events{/number}","events_url":"https://api.github.com/repos/cargomedia/puppet-packages/events","assignees_url":"https://api.github.com/repos/cargomedia/puppet-packages/assignees{/user}","branches_url":"https://api.github.com/repos/cargomedia/puppet-packages/branches{/branch}","tags_url":"https://api.github.com/repos/cargomedia/puppet-packages/tags","blobs_url":"https://api.github.com/repos/cargomedia/puppet-packages/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/cargomedia/puppet-packages/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/cargomedia/puppet-packages/git/refs{/sha}","trees_url":"https://api.github.com/repos/cargomedia/puppet-packages/git/trees{/sha}","statuses_url":"https://api.github.com/repos/cargomedia/puppet-packages/statuses/{sha}","languages_url":"https://api.github.com/repos/cargomedia/puppet-packages/languages","stargazers_url":"https://api.github.com/repos/cargomedia/puppet-packages/stargazers","contributors_url":"https://api.github.com/repos/cargomedia/puppet-packages/contributors","subscribers_url":"https://api.github.com/repos/cargomedia/puppet-packages/subscribers","subscription_url":"https://api.github.com/repos/cargomedia/puppet-packages/subscription","commits_url":"https://api.github.com/repos/cargomedia/puppet-packages/commits{/sha}","git_commits_url":"https://api.github.com/repos/cargomedia/puppet-packages/git/commits{/sha}","comments_url":"https://api.github.com/repos/cargomedia/puppet-packages/comments{/number}","issue_comment_url":"https://api.github.com/repos/cargomedia/puppet-packages/issues/comments{/number}","contents_url":"https://api.github.com/repos/cargomedia/puppet-packages/contents/{+path}","compare_url":"https://api.github.com/repos/cargomedia/puppet-packages/compare/{base}...{head}","merges_url":"https://api.github.com/repos/cargomedia/puppet-packages/merges","archive_url":"https://api.github.com/repos/cargomedia/puppet-packages/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/cargomedia/puppet-packages/downloads","issues_url":"https://api.github.com/repos/cargomedia/puppet-packages/issues{/number}","pulls_url":"https://api.github.com/repos/cargomedia/puppet-packages/pulls{/number}","milestones_url":"https://api.github.com/repos/cargomedia/puppet-packages/milestones{/number}","notifications_url":"https://api.github.com/repos/cargomedia/puppet-packages/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/cargomedia/puppet-packages/labels{/name}","releases_url":"https://api.github.com/repos/cargomedia/puppet-packages/releases{/id}","deployments_url":"https://api.github.com/repos/cargomedia/puppet-packages/deployments","created_at":"2013-06-04T18:05:41Z","updated_at":"2016-01-11T10:57:26Z","pushed_at":"2016-08-17T12:39:36Z","git_url":"git://github.com/cargomedia/puppet-packages.git","ssh_url":"git@github.com:cargomedia/puppet-packages.git","clone_url":"https://github.com/cargomedia/puppet-packages.git","svn_url":"https://github.com/cargomedia/puppet-packages","homepage":"","size":4642,"stargazers_count":5,"watchers_count":5,"language":"Puppet","has_issues":true,"has_downloads":true,"has_wiki":true,"has_pages":false,"forks_count":15,"mirror_url":null,"open_issues_count":21,"forks":15,"open_issues":21,"watchers":5,"default_branch":"master"}},"_links":{"self":{"href":"https://api.github.com/repos/cargomedia/puppet-packages/pulls/1443"},"html":{"href":"https://github.com/cargomedia/puppet-packages/pull/1443"},"issue":{"href":"https://api.github.com/repos/cargomedia/puppet-packages/issues/1443"},"comments":{"href":"https://api.github.com/repos/cargomedia/puppet-packages/issues/1443/comments"},"review_comments":{"href":"https://api.github.com/repos/cargomedia/puppet-packages/pulls/1443/comments"},"review_comment":{"href":"https://api.github.com/repos/cargomedia/puppet-packages/pulls/comments{/number}"},"commits":{"href":"https://api.github.com/repos/cargomedia/puppet-packages/pulls/1443/commits"},"statuses":{"href":"https://api.github.com/repos/cargomedia/puppet-packages/statuses/09c4b14001e91489e651c0b9eada482b54af668c"}},"merged":false,"mergeable":null,"mergeable_state":"unknown","merged_by":null,"comments":1,"review_comments":0,"commits":1,"additions":166,"deletions":0,"changed_files":6}}
{"actor":{"display_login":"njam"}}