{"action":"created","comment":{"url":"https://api.github.com/repos/StackStorm/puppet-st2/pulls/comments/41456583","id":41456583,"diff_hunk":"@@ -0,0 +1,30 @@\n+# Definition: systemd\n+#\n+#  Lets create some Systemd scripts\n+#\n+define st2::helper::systemd (\n+  $st2_process  = undef,\n+  $process_type = 'single'\n+  ) {\n+\n+  if $process_type == 'multi' {\n+    $type = \"${process_type}@\"\n+  } else {\n+    $type = ''\n+  }\n+\n+  file{\"/etc/systemd/system/${st2_process}${type}.service\":","path":"manifests/helper/systemd.pp","position":16,"original_position":16,"commit_id":"42e69877b113d1cdc3f52d87d92578e9ea61d6b4","original_commit_id":"3c0f11187ef0ea629f175e842e4ecef64c75d7bc","user":{"login":"DoriftoShoes","id":1108877,"avatar_url":"https://avatars.githubusercontent.com/u/1108877?v=3","gravatar_id":"","url":"https://api.github.com/users/DoriftoShoes","html_url":"https://github.com/DoriftoShoes","followers_url":"https://api.github.com/users/DoriftoShoes/followers","following_url":"https://api.github.com/users/DoriftoShoes/following{/other_user}","gists_url":"https://api.github.com/users/DoriftoShoes/gists{/gist_id}","starred_url":"https://api.github.com/users/DoriftoShoes/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/DoriftoShoes/subscriptions","organizations_url":"https://api.github.com/users/DoriftoShoes/orgs","repos_url":"https://api.github.com/users/DoriftoShoes/repos","events_url":"https://api.github.com/users/DoriftoShoes/events{/privacy}","received_events_url":"https://api.github.com/users/DoriftoShoes/received_events","type":"User","site_admin":false},"body":"I tweaked it to only enable the single process ones.  This should avoid any issues with the @ ones vs the singles.","created_at":"2015-10-07T22:32:37Z","updated_at":"2015-10-07T22:32:37Z","html_url":"https://github.com/StackStorm/puppet-st2/pull/77#discussion_r41456583","pull_request_url":"https://api.github.com/repos/StackStorm/puppet-st2/pulls/77","_links":{"self":{"href":"https://api.github.com/repos/StackStorm/puppet-st2/pulls/comments/41456583"},"html":{"href":"https://github.com/StackStorm/puppet-st2/pull/77#discussion_r41456583"},"pull_request":{"href":"https://api.github.com/repos/StackStorm/puppet-st2/pulls/77"}}},"pull_request":{"url":"https://api.github.com/repos/StackStorm/puppet-st2/pulls/77","id":47080941,"html_url":"https://github.com/StackStorm/puppet-st2/pull/77","diff_url":"https://github.com/StackStorm/puppet-st2/pull/77.diff","patch_url":"https://github.com/StackStorm/puppet-st2/pull/77.patch","issue_url":"https://api.github.com/repos/StackStorm/puppet-st2/issues/77","number":77,"state":"open","locked":false,"title":"Adding systemd scripts","user":{"login":"DoriftoShoes","id":1108877,"avatar_url":"https://avatars.githubusercontent.com/u/1108877?v=3","gravatar_id":"","url":"https://api.github.com/users/DoriftoShoes","html_url":"https://github.com/DoriftoShoes","followers_url":"https://api.github.com/users/DoriftoShoes/followers","following_url":"https://api.github.com/users/DoriftoShoes/following{/other_user}","gists_url":"https://api.github.com/users/DoriftoShoes/gists{/gist_id}","starred_url":"https://api.github.com/users/DoriftoShoes/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/DoriftoShoes/subscriptions","organizations_url":"https://api.github.com/users/DoriftoShoes/orgs","repos_url":"https://api.github.com/users/DoriftoShoes/repos","events_url":"https://api.github.com/users/DoriftoShoes/events{/privacy}","received_events_url":"https://api.github.com/users/DoriftoShoes/received_events","type":"User","site_admin":false},"body":"","created_at":"2015-10-07T20:56:36Z","updated_at":"2015-10-07T22:32:37Z","closed_at":null,"merged_at":null,"merge_commit_sha":"f5a4654fe19bdc2c1898d5d91355492e62b9d8bb","assignee":null,"milestone":null,"commits_url":"https://api.github.com/repos/StackStorm/puppet-st2/pulls/77/commits","review_comments_url":"https://api.github.com/repos/StackStorm/puppet-st2/pulls/77/comments","review_comment_url":"https://api.github.com/repos/StackStorm/puppet-st2/pulls/comments{/number}","comments_url":"https://api.github.com/repos/StackStorm/puppet-st2/issues/77/comments","statuses_url":"https://api.github.com/repos/StackStorm/puppet-st2/statuses/42e69877b113d1cdc3f52d87d92578e9ea61d6b4","head":{"label":"StackStorm:st2_systemd","ref":"st2_systemd","sha":"42e69877b113d1cdc3f52d87d92578e9ea61d6b4","user":{"login":"StackStorm","id":4969009,"avatar_url":"https://avatars.githubusercontent.com/u/4969009?v=3","gravatar_id":"","url":"https://api.github.com/users/StackStorm","html_url":"https://github.com/StackStorm","followers_url":"https://api.github.com/users/StackStorm/followers","following_url":"https://api.github.com/users/StackStorm/following{/other_user}","gists_url":"https://api.github.com/users/StackStorm/gists{/gist_id}","starred_url":"https://api.github.com/users/StackStorm/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/StackStorm/subscriptions","organizations_url":"https://api.github.com/users/StackStorm/orgs","repos_url":"https://api.github.com/users/StackStorm/repos","events_url":"https://api.github.com/users/StackStorm/events{/privacy}","received_events_url":"https://api.github.com/users/StackStorm/received_events","type":"Organization","site_admin":false},"repo":{"id":26937603,"name":"puppet-st2","full_name":"StackStorm/puppet-st2","owner":{"login":"StackStorm","id":4969009,"avatar_url":"https://avatars.githubusercontent.com/u/4969009?v=3","gravatar_id":"","url":"https://api.github.com/users/StackStorm","html_url":"https://github.com/StackStorm","followers_url":"https://api.github.com/users/StackStorm/followers","following_url":"https://api.github.com/users/StackStorm/following{/other_user}","gists_url":"https://api.github.com/users/StackStorm/gists{/gist_id}","starred_url":"https://api.github.com/users/StackStorm/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/StackStorm/subscriptions","organizations_url":"https://api.github.com/users/StackStorm/orgs","repos_url":"https://api.github.com/users/StackStorm/repos","events_url":"https://api.github.com/users/StackStorm/events{/privacy}","received_events_url":"https://api.github.com/users/StackStorm/received_events","type":"Organization","site_admin":false},"private":false,"html_url":"https://github.com/StackStorm/puppet-st2","description":"Puppet Module to install StackStorm","fork":false,"url":"https://api.github.com/repos/StackStorm/puppet-st2","forks_url":"https://api.github.com/repos/StackStorm/puppet-st2/forks","keys_url":"https://api.github.com/repos/StackStorm/puppet-st2/keys{/key_id}","collaborators_url":"https://api.github.com/repos/StackStorm/puppet-st2/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/StackStorm/puppet-st2/teams","hooks_url":"https://api.github.com/repos/StackStorm/puppet-st2/hooks","issue_events_url":"https://api.github.com/repos/StackStorm/puppet-st2/issues/events{/number}","events_url":"https://api.github.com/repos/StackStorm/puppet-st2/events","assignees_url":"https://api.github.com/repos/StackStorm/puppet-st2/assignees{/user}","branches_url":"https://api.github.com/repos/StackStorm/puppet-st2/branches{/branch}","tags_url":"https://api.github.com/repos/StackStorm/puppet-st2/tags","blobs_url":"https://api.github.com/repos/StackStorm/puppet-st2/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/StackStorm/puppet-st2/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/StackStorm/puppet-st2/git/refs{/sha}","trees_url":"https://api.github.com/repos/StackStorm/puppet-st2/git/trees{/sha}","statuses_url":"https://api.github.com/repos/StackStorm/puppet-st2/statuses/{sha}","languages_url":"https://api.github.com/repos/StackStorm/puppet-st2/languages","stargazers_url":"https://api.github.com/repos/StackStorm/puppet-st2/stargazers","contributors_url":"https://api.github.com/repos/StackStorm/puppet-st2/contributors","subscribers_url":"https://api.github.com/repos/StackStorm/puppet-st2/subscribers","subscription_url":"https://api.github.com/repos/StackStorm/puppet-st2/subscription","commits_url":"https://api.github.com/repos/StackStorm/puppet-st2/commits{/sha}","git_commits_url":"https://api.github.com/repos/StackStorm/puppet-st2/git/commits{/sha}","comments_url":"https://api.github.com/repos/StackStorm/puppet-st2/comments{/number}","issue_comment_url":"https://api.github.com/repos/StackStorm/puppet-st2/issues/comments{/number}","contents_url":"https://api.github.com/repos/StackStorm/puppet-st2/contents/{+path}","compare_url":"https://api.github.com/repos/StackStorm/puppet-st2/compare/{base}...{head}","merges_url":"https://api.github.com/repos/StackStorm/puppet-st2/merges","archive_url":"https://api.github.com/repos/StackStorm/puppet-st2/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/StackStorm/puppet-st2/downloads","issues_url":"https://api.github.com/repos/StackStorm/puppet-st2/issues{/number}","pulls_url":"https://api.github.com/repos/StackStorm/puppet-st2/pulls{/number}","milestones_url":"https://api.github.com/repos/StackStorm/puppet-st2/milestones{/number}","notifications_url":"https://api.github.com/repos/StackStorm/puppet-st2/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/StackStorm/puppet-st2/labels{/name}","releases_url":"https://api.github.com/repos/StackStorm/puppet-st2/releases{/id}","created_at":"2014-11-20T23:56:48Z","updated_at":"2015-08-12T21:16:58Z","pushed_at":"2015-10-07T22:31:45Z","git_url":"git://github.com/StackStorm/puppet-st2.git","ssh_url":"git@github.com:StackStorm/puppet-st2.git","clone_url":"https://github.com/StackStorm/puppet-st2.git","svn_url":"https://github.com/StackStorm/puppet-st2","homepage":null,"size":7341,"stargazers_count":3,"watchers_count":3,"language":"Puppet","has_issues":true,"has_downloads":true,"has_wiki":false,"has_pages":false,"forks_count":4,"mirror_url":null,"open_issues_count":1,"forks":4,"open_issues":1,"watchers":3,"default_branch":"master"}},"base":{"label":"StackStorm:master","ref":"master","sha":"5468c9297c9c8c5f638447761508a6208fe1c2c6","user":{"login":"StackStorm","id":4969009,"avatar_url":"https://avatars.githubusercontent.com/u/4969009?v=3","gravatar_id":"","url":"https://api.github.com/users/StackStorm","html_url":"https://github.com/StackStorm","followers_url":"https://api.github.com/users/StackStorm/followers","following_url":"https://api.github.com/users/StackStorm/following{/other_user}","gists_url":"https://api.github.com/users/StackStorm/gists{/gist_id}","starred_url":"https://api.github.com/users/StackStorm/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/StackStorm/subscriptions","organizations_url":"https://api.github.com/users/StackStorm/orgs","repos_url":"https://api.github.com/users/StackStorm/repos","events_url":"https://api.github.com/users/StackStorm/events{/privacy}","received_events_url":"https://api.github.com/users/StackStorm/received_events","type":"Organization","site_admin":false},"repo":{"id":26937603,"name":"puppet-st2","full_name":"StackStorm/puppet-st2","owner":{"login":"StackStorm","id":4969009,"avatar_url":"https://avatars.githubusercontent.com/u/4969009?v=3","gravatar_id":"","url":"https://api.github.com/users/StackStorm","html_url":"https://github.com/StackStorm","followers_url":"https://api.github.com/users/StackStorm/followers","following_url":"https://api.github.com/users/StackStorm/following{/other_user}","gists_url":"https://api.github.com/users/StackStorm/gists{/gist_id}","starred_url":"https://api.github.com/users/StackStorm/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/StackStorm/subscriptions","organizations_url":"https://api.github.com/users/StackStorm/orgs","repos_url":"https://api.github.com/users/StackStorm/repos","events_url":"https://api.github.com/users/StackStorm/events{/privacy}","received_events_url":"https://api.github.com/users/StackStorm/received_events","type":"Organization","site_admin":false},"private":false,"html_url":"https://github.com/StackStorm/puppet-st2","description":"Puppet Module to install StackStorm","fork":false,"url":"https://api.github.com/repos/StackStorm/puppet-st2","forks_url":"https://api.github.com/repos/StackStorm/puppet-st2/forks","keys_url":"https://api.github.com/repos/StackStorm/puppet-st2/keys{/key_id}","collaborators_url":"https://api.github.com/repos/StackStorm/puppet-st2/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/StackStorm/puppet-st2/teams","hooks_url":"https://api.github.com/repos/StackStorm/puppet-st2/hooks","issue_events_url":"https://api.github.com/repos/StackStorm/puppet-st2/issues/events{/number}","events_url":"https://api.github.com/repos/StackStorm/puppet-st2/events","assignees_url":"https://api.github.com/repos/StackStorm/puppet-st2/assignees{/user}","branches_url":"https://api.github.com/repos/StackStorm/puppet-st2/branches{/branch}","tags_url":"https://api.github.com/repos/StackStorm/puppet-st2/tags","blobs_url":"https://api.github.com/repos/StackStorm/puppet-st2/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/StackStorm/puppet-st2/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/StackStorm/puppet-st2/git/refs{/sha}","trees_url":"https://api.github.com/repos/StackStorm/puppet-st2/git/trees{/sha}","statuses_url":"https://api.github.com/repos/StackStorm/puppet-st2/statuses/{sha}","languages_url":"https://api.github.com/repos/StackStorm/puppet-st2/languages","stargazers_url":"https://api.github.com/repos/StackStorm/puppet-st2/stargazers","contributors_url":"https://api.github.com/repos/StackStorm/puppet-st2/contributors","subscribers_url":"https://api.github.com/repos/StackStorm/puppet-st2/subscribers","subscription_url":"https://api.github.com/repos/StackStorm/puppet-st2/subscription","commits_url":"https://api.github.com/repos/StackStorm/puppet-st2/commits{/sha}","git_commits_url":"https://api.github.com/repos/StackStorm/puppet-st2/git/commits{/sha}","comments_url":"https://api.github.com/repos/StackStorm/puppet-st2/comments{/number}","issue_comment_url":"https://api.github.com/repos/StackStorm/puppet-st2/issues/comments{/number}","contents_url":"https://api.github.com/repos/StackStorm/puppet-st2/contents/{+path}","compare_url":"https://api.github.com/repos/StackStorm/puppet-st2/compare/{base}...{head}","merges_url":"https://api.github.com/repos/StackStorm/puppet-st2/merges","archive_url":"https://api.github.com/repos/StackStorm/puppet-st2/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/StackStorm/puppet-st2/downloads","issues_url":"https://api.github.com/repos/StackStorm/puppet-st2/issues{/number}","pulls_url":"https://api.github.com/repos/StackStorm/puppet-st2/pulls{/number}","milestones_url":"https://api.github.com/repos/StackStorm/puppet-st2/milestones{/number}","notifications_url":"https://api.github.com/repos/StackStorm/puppet-st2/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/StackStorm/puppet-st2/labels{/name}","releases_url":"https://api.github.com/repos/StackStorm/puppet-st2/releases{/id}","created_at":"2014-11-20T23:56:48Z","updated_at":"2015-08-12T21:16:58Z","pushed_at":"2015-10-07T22:31:45Z","git_url":"git://github.com/StackStorm/puppet-st2.git","ssh_url":"git@github.com:StackStorm/puppet-st2.git","clone_url":"https://github.com/StackStorm/puppet-st2.git","svn_url":"https://github.com/StackStorm/puppet-st2","homepage":null,"size":7341,"stargazers_count":3,"watchers_count":3,"language":"Puppet","has_issues":true,"has_downloads":true,"has_wiki":false,"has_pages":false,"forks_count":4,"mirror_url":null,"open_issues_count":1,"forks":4,"open_issues":1,"watchers":3,"default_branch":"master"}},"_links":{"self":{"href":"https://api.github.com/repos/StackStorm/puppet-st2/pulls/77"},"html":{"href":"https://github.com/StackStorm/puppet-st2/pull/77"},"issue":{"href":"https://api.github.com/repos/StackStorm/puppet-st2/issues/77"},"comments":{"href":"https://api.github.com/repos/StackStorm/puppet-st2/issues/77/comments"},"review_comments":{"href":"https://api.github.com/repos/StackStorm/puppet-st2/pulls/77/comments"},"review_comment":{"href":"https://api.github.com/repos/StackStorm/puppet-st2/pulls/comments{/number}"},"commits":{"href":"https://api.github.com/repos/StackStorm/puppet-st2/pulls/77/commits"},"statuses":{"href":"https://api.github.com/repos/StackStorm/puppet-st2/statuses/42e69877b113d1cdc3f52d87d92578e9ea61d6b4"}}}}