{"action":"created","comment":{"url":"https://api.github.com/repos/SUSE/machinery/pulls/comments/23083776","id":23083776,"diff_hunk":"@@ -71,11 +78,14 @@\n       expect(summary).to eq(\"Found 3 services.\")\n     end\n \n-    it \"returns data about SysVinit services when no systemd is present\" do\n+    it \"returns data about SysVinit services on a suse system when no systemd is present\" do\n       system = double\n       expect(system).to receive(:run_command).\n         with(\"systemctl\", \"--version\").\n         and_raise(Cheetah::ExecutionFailed.new(nil, nil, nil, nil))\n+      expect(system).to receive(:run_command).\n+        with(\"chkconfig\", \"--version\").\n+        and_raise(Cheetah::ExecutionFailed.new(nil, nil, nil, nil))","path":"spec/unit/services_inspector_spec.rb","position":26,"original_position":26,"commit_id":"7957469bdf0416ee256840395179c494cd0457a0","original_commit_id":"7957469bdf0416ee256840395179c494cd0457a0","user":{"login":"tgoettlicher","id":1260116,"avatar_url":"https://avatars.githubusercontent.com/u/1260116?v=3","gravatar_id":"","url":"https://api.github.com/users/tgoettlicher","html_url":"https://github.com/tgoettlicher","followers_url":"https://api.github.com/users/tgoettlicher/followers","following_url":"https://api.github.com/users/tgoettlicher/following{/other_user}","gists_url":"https://api.github.com/users/tgoettlicher/gists{/gist_id}","starred_url":"https://api.github.com/users/tgoettlicher/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/tgoettlicher/subscriptions","organizations_url":"https://api.github.com/users/tgoettlicher/orgs","repos_url":"https://api.github.com/users/tgoettlicher/repos","events_url":"https://api.github.com/users/tgoettlicher/events{/privacy}","received_events_url":"https://api.github.com/users/tgoettlicher/received_events","type":"User","site_admin":false},"body":"That's because we need to find out if SUSE's or Red Hat's chkconfig is on the system. If we determined the OS by running the OS inspector first we could skip this step.","created_at":"2015-01-16T14:48:50Z","updated_at":"2015-01-16T14:48:50Z","html_url":"https://github.com/SUSE/machinery/pull/523#discussion_r23083776","pull_request_url":"https://api.github.com/repos/SUSE/machinery/pulls/523","_links":{"self":{"href":"https://api.github.com/repos/SUSE/machinery/pulls/comments/23083776"},"html":{"href":"https://github.com/SUSE/machinery/pull/523#discussion_r23083776"},"pull_request":{"href":"https://api.github.com/repos/SUSE/machinery/pulls/523"}}},"pull_request":{"url":"https://api.github.com/repos/SUSE/machinery/pulls/523","id":27430196,"html_url":"https://github.com/SUSE/machinery/pull/523","diff_url":"https://github.com/SUSE/machinery/pull/523.diff","patch_url":"https://github.com/SUSE/machinery/pull/523.patch","issue_url":"https://api.github.com/repos/SUSE/machinery/issues/523","number":523,"state":"open","locked":false,"title":"Enabled scope services to support Red Hat","user":{"login":"tgoettlicher","id":1260116,"avatar_url":"https://avatars.githubusercontent.com/u/1260116?v=3","gravatar_id":"","url":"https://api.github.com/users/tgoettlicher","html_url":"https://github.com/tgoettlicher","followers_url":"https://api.github.com/users/tgoettlicher/followers","following_url":"https://api.github.com/users/tgoettlicher/following{/other_user}","gists_url":"https://api.github.com/users/tgoettlicher/gists{/gist_id}","starred_url":"https://api.github.com/users/tgoettlicher/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/tgoettlicher/subscriptions","organizations_url":"https://api.github.com/users/tgoettlicher/orgs","repos_url":"https://api.github.com/users/tgoettlicher/repos","events_url":"https://api.github.com/users/tgoettlicher/events{/privacy}","received_events_url":"https://api.github.com/users/tgoettlicher/received_events","type":"User","site_admin":false},"body":"","created_at":"2015-01-15T14:05:23Z","updated_at":"2015-01-16T14:48:50Z","closed_at":null,"merged_at":null,"merge_commit_sha":"8b7ea5bfa1a7bfd33ddcf7cbb524dbac2200d517","assignee":null,"milestone":null,"commits_url":"https://api.github.com/repos/SUSE/machinery/pulls/523/commits","review_comments_url":"https://api.github.com/repos/SUSE/machinery/pulls/523/comments","review_comment_url":"https://api.github.com/repos/SUSE/machinery/pulls/comments/{number}","comments_url":"https://api.github.com/repos/SUSE/machinery/issues/523/comments","statuses_url":"https://api.github.com/repos/SUSE/machinery/statuses/7957469bdf0416ee256840395179c494cd0457a0","head":{"label":"SUSE:review_150115_enabled_scope_services_to_support_red_hat","ref":"review_150115_enabled_scope_services_to_support_red_hat","sha":"7957469bdf0416ee256840395179c494cd0457a0","user":{"login":"SUSE","id":1067733,"avatar_url":"https://avatars.githubusercontent.com/u/1067733?v=3","gravatar_id":"","url":"https://api.github.com/users/SUSE","html_url":"https://github.com/SUSE","followers_url":"https://api.github.com/users/SUSE/followers","following_url":"https://api.github.com/users/SUSE/following{/other_user}","gists_url":"https://api.github.com/users/SUSE/gists{/gist_id}","starred_url":"https://api.github.com/users/SUSE/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/SUSE/subscriptions","organizations_url":"https://api.github.com/users/SUSE/orgs","repos_url":"https://api.github.com/users/SUSE/repos","events_url":"https://api.github.com/users/SUSE/events{/privacy}","received_events_url":"https://api.github.com/users/SUSE/received_events","type":"Organization","site_admin":false},"repo":{"id":21424418,"name":"machinery","full_name":"SUSE/machinery","owner":{"login":"SUSE","id":1067733,"avatar_url":"https://avatars.githubusercontent.com/u/1067733?v=3","gravatar_id":"","url":"https://api.github.com/users/SUSE","html_url":"https://github.com/SUSE","followers_url":"https://api.github.com/users/SUSE/followers","following_url":"https://api.github.com/users/SUSE/following{/other_user}","gists_url":"https://api.github.com/users/SUSE/gists{/gist_id}","starred_url":"https://api.github.com/users/SUSE/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/SUSE/subscriptions","organizations_url":"https://api.github.com/users/SUSE/orgs","repos_url":"https://api.github.com/users/SUSE/repos","events_url":"https://api.github.com/users/SUSE/events{/privacy}","received_events_url":"https://api.github.com/users/SUSE/received_events","type":"Organization","site_admin":false},"private":false,"html_url":"https://github.com/SUSE/machinery","description":"A systems management toolkit for Linux","fork":false,"url":"https://api.github.com/repos/SUSE/machinery","forks_url":"https://api.github.com/repos/SUSE/machinery/forks","keys_url":"https://api.github.com/repos/SUSE/machinery/keys{/key_id}","collaborators_url":"https://api.github.com/repos/SUSE/machinery/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/SUSE/machinery/teams","hooks_url":"https://api.github.com/repos/SUSE/machinery/hooks","issue_events_url":"https://api.github.com/repos/SUSE/machinery/issues/events{/number}","events_url":"https://api.github.com/repos/SUSE/machinery/events","assignees_url":"https://api.github.com/repos/SUSE/machinery/assignees{/user}","branches_url":"https://api.github.com/repos/SUSE/machinery/branches{/branch}","tags_url":"https://api.github.com/repos/SUSE/machinery/tags","blobs_url":"https://api.github.com/repos/SUSE/machinery/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/SUSE/machinery/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/SUSE/machinery/git/refs{/sha}","trees_url":"https://api.github.com/repos/SUSE/machinery/git/trees{/sha}","statuses_url":"https://api.github.com/repos/SUSE/machinery/statuses/{sha}","languages_url":"https://api.github.com/repos/SUSE/machinery/languages","stargazers_url":"https://api.github.com/repos/SUSE/machinery/stargazers","contributors_url":"https://api.github.com/repos/SUSE/machinery/contributors","subscribers_url":"https://api.github.com/repos/SUSE/machinery/subscribers","subscription_url":"https://api.github.com/repos/SUSE/machinery/subscription","commits_url":"https://api.github.com/repos/SUSE/machinery/commits{/sha}","git_commits_url":"https://api.github.com/repos/SUSE/machinery/git/commits{/sha}","comments_url":"https://api.github.com/repos/SUSE/machinery/comments{/number}","issue_comment_url":"https://api.github.com/repos/SUSE/machinery/issues/comments/{number}","contents_url":"https://api.github.com/repos/SUSE/machinery/contents/{+path}","compare_url":"https://api.github.com/repos/SUSE/machinery/compare/{base}...{head}","merges_url":"https://api.github.com/repos/SUSE/machinery/merges","archive_url":"https://api.github.com/repos/SUSE/machinery/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/SUSE/machinery/downloads","issues_url":"https://api.github.com/repos/SUSE/machinery/issues{/number}","pulls_url":"https://api.github.com/repos/SUSE/machinery/pulls{/number}","milestones_url":"https://api.github.com/repos/SUSE/machinery/milestones{/number}","notifications_url":"https://api.github.com/repos/SUSE/machinery/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/SUSE/machinery/labels{/name}","releases_url":"https://api.github.com/repos/SUSE/machinery/releases{/id}","created_at":"2014-07-02T13:07:04Z","updated_at":"2015-01-14T16:49:50Z","pushed_at":"2015-01-16T14:29:51Z","git_url":"git://github.com/SUSE/machinery.git","ssh_url":"git@github.com:SUSE/machinery.git","clone_url":"https://github.com/SUSE/machinery.git","svn_url":"https://github.com/SUSE/machinery","homepage":"machinery-project.org","size":11409,"stargazers_count":39,"watchers_count":39,"language":"Ruby","has_issues":true,"has_downloads":true,"has_wiki":true,"has_pages":true,"forks_count":6,"mirror_url":null,"open_issues_count":25,"forks":6,"open_issues":25,"watchers":39,"default_branch":"master"}},"base":{"label":"SUSE:master","ref":"master","sha":"23f8d0bf3105e4507602b1ff020b7db0258181c3","user":{"login":"SUSE","id":1067733,"avatar_url":"https://avatars.githubusercontent.com/u/1067733?v=3","gravatar_id":"","url":"https://api.github.com/users/SUSE","html_url":"https://github.com/SUSE","followers_url":"https://api.github.com/users/SUSE/followers","following_url":"https://api.github.com/users/SUSE/following{/other_user}","gists_url":"https://api.github.com/users/SUSE/gists{/gist_id}","starred_url":"https://api.github.com/users/SUSE/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/SUSE/subscriptions","organizations_url":"https://api.github.com/users/SUSE/orgs","repos_url":"https://api.github.com/users/SUSE/repos","events_url":"https://api.github.com/users/SUSE/events{/privacy}","received_events_url":"https://api.github.com/users/SUSE/received_events","type":"Organization","site_admin":false},"repo":{"id":21424418,"name":"machinery","full_name":"SUSE/machinery","owner":{"login":"SUSE","id":1067733,"avatar_url":"https://avatars.githubusercontent.com/u/1067733?v=3","gravatar_id":"","url":"https://api.github.com/users/SUSE","html_url":"https://github.com/SUSE","followers_url":"https://api.github.com/users/SUSE/followers","following_url":"https://api.github.com/users/SUSE/following{/other_user}","gists_url":"https://api.github.com/users/SUSE/gists{/gist_id}","starred_url":"https://api.github.com/users/SUSE/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/SUSE/subscriptions","organizations_url":"https://api.github.com/users/SUSE/orgs","repos_url":"https://api.github.com/users/SUSE/repos","events_url":"https://api.github.com/users/SUSE/events{/privacy}","received_events_url":"https://api.github.com/users/SUSE/received_events","type":"Organization","site_admin":false},"private":false,"html_url":"https://github.com/SUSE/machinery","description":"A systems management toolkit for Linux","fork":false,"url":"https://api.github.com/repos/SUSE/machinery","forks_url":"https://api.github.com/repos/SUSE/machinery/forks","keys_url":"https://api.github.com/repos/SUSE/machinery/keys{/key_id}","collaborators_url":"https://api.github.com/repos/SUSE/machinery/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/SUSE/machinery/teams","hooks_url":"https://api.github.com/repos/SUSE/machinery/hooks","issue_events_url":"https://api.github.com/repos/SUSE/machinery/issues/events{/number}","events_url":"https://api.github.com/repos/SUSE/machinery/events","assignees_url":"https://api.github.com/repos/SUSE/machinery/assignees{/user}","branches_url":"https://api.github.com/repos/SUSE/machinery/branches{/branch}","tags_url":"https://api.github.com/repos/SUSE/machinery/tags","blobs_url":"https://api.github.com/repos/SUSE/machinery/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/SUSE/machinery/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/SUSE/machinery/git/refs{/sha}","trees_url":"https://api.github.com/repos/SUSE/machinery/git/trees{/sha}","statuses_url":"https://api.github.com/repos/SUSE/machinery/statuses/{sha}","languages_url":"https://api.github.com/repos/SUSE/machinery/languages","stargazers_url":"https://api.github.com/repos/SUSE/machinery/stargazers","contributors_url":"https://api.github.com/repos/SUSE/machinery/contributors","subscribers_url":"https://api.github.com/repos/SUSE/machinery/subscribers","subscription_url":"https://api.github.com/repos/SUSE/machinery/subscription","commits_url":"https://api.github.com/repos/SUSE/machinery/commits{/sha}","git_commits_url":"https://api.github.com/repos/SUSE/machinery/git/commits{/sha}","comments_url":"https://api.github.com/repos/SUSE/machinery/comments{/number}","issue_comment_url":"https://api.github.com/repos/SUSE/machinery/issues/comments/{number}","contents_url":"https://api.github.com/repos/SUSE/machinery/contents/{+path}","compare_url":"https://api.github.com/repos/SUSE/machinery/compare/{base}...{head}","merges_url":"https://api.github.com/repos/SUSE/machinery/merges","archive_url":"https://api.github.com/repos/SUSE/machinery/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/SUSE/machinery/downloads","issues_url":"https://api.github.com/repos/SUSE/machinery/issues{/number}","pulls_url":"https://api.github.com/repos/SUSE/machinery/pulls{/number}","milestones_url":"https://api.github.com/repos/SUSE/machinery/milestones{/number}","notifications_url":"https://api.github.com/repos/SUSE/machinery/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/SUSE/machinery/labels{/name}","releases_url":"https://api.github.com/repos/SUSE/machinery/releases{/id}","created_at":"2014-07-02T13:07:04Z","updated_at":"2015-01-14T16:49:50Z","pushed_at":"2015-01-16T14:29:51Z","git_url":"git://github.com/SUSE/machinery.git","ssh_url":"git@github.com:SUSE/machinery.git","clone_url":"https://github.com/SUSE/machinery.git","svn_url":"https://github.com/SUSE/machinery","homepage":"machinery-project.org","size":11409,"stargazers_count":39,"watchers_count":39,"language":"Ruby","has_issues":true,"has_downloads":true,"has_wiki":true,"has_pages":true,"forks_count":6,"mirror_url":null,"open_issues_count":25,"forks":6,"open_issues":25,"watchers":39,"default_branch":"master"}},"_links":{"self":{"href":"https://api.github.com/repos/SUSE/machinery/pulls/523"},"html":{"href":"https://github.com/SUSE/machinery/pull/523"},"issue":{"href":"https://api.github.com/repos/SUSE/machinery/issues/523"},"comments":{"href":"https://api.github.com/repos/SUSE/machinery/issues/523/comments"},"review_comments":{"href":"https://api.github.com/repos/SUSE/machinery/pulls/523/comments"},"review_comment":{"href":"https://api.github.com/repos/SUSE/machinery/pulls/comments/{number}"},"commits":{"href":"https://api.github.com/repos/SUSE/machinery/pulls/523/commits"},"statuses":{"href":"https://api.github.com/repos/SUSE/machinery/statuses/7957469bdf0416ee256840395179c494cd0457a0"}}}}