{"action":"created","comment":{"url":"https://api.github.com/repos/chef/inspec/pulls/comments/48480111","id":48480111,"diff_hunk":"@@ -34,8 +34,14 @@ def initialize(ip = nil, port) # rubocop:disable OptionalArguments\n     case inspec.os[:family]\n     when 'ubuntu', 'debian', 'redhat', 'fedora', 'centos', 'arch', 'wrlinux'\n       @port_manager = LinuxPorts.new(inspec)\n-    when 'darwin'\n-      @port_manager = DarwinPorts.new(inspec)\n+    when 'darwin', 'aix'\n+      # AIX: see http://www.ibm.com/developerworks/aix/library/au-lsof.html#resources\n+      #      and https://www-01.ibm.com/marketing/iwm/iwm/web/reg/pick.do?source=aixbp","path":"lib/resources/port.rb","position":8,"original_position":8,"commit_id":"7f02e2927f24d9702e5bf1830178dc587231a7eb","original_commit_id":"7f02e2927f24d9702e5bf1830178dc587231a7eb","user":{"login":"chris-rock","id":1178413,"avatar_url":"https://avatars.githubusercontent.com/u/1178413?v=3","gravatar_id":"","url":"https://api.github.com/users/chris-rock","html_url":"https://github.com/chris-rock","followers_url":"https://api.github.com/users/chris-rock/followers","following_url":"https://api.github.com/users/chris-rock/following{/other_user}","gists_url":"https://api.github.com/users/chris-rock/gists{/gist_id}","starred_url":"https://api.github.com/users/chris-rock/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/chris-rock/subscriptions","organizations_url":"https://api.github.com/users/chris-rock/orgs","repos_url":"https://api.github.com/users/chris-rock/repos","events_url":"https://api.github.com/users/chris-rock/events{/privacy}","received_events_url":"https://api.github.com/users/chris-rock/received_events","type":"User","site_admin":false},"body":"I cannot find `lsof` on my standard PDP AIX 7.2 and 6.1 machine. Should `lsof` be available on all machines?","created_at":"2015-12-28T13:50:56Z","updated_at":"2015-12-28T13:50:56Z","html_url":"https://github.com/chef/inspec/pull/333#discussion_r48480111","pull_request_url":"https://api.github.com/repos/chef/inspec/pulls/333","_links":{"self":{"href":"https://api.github.com/repos/chef/inspec/pulls/comments/48480111"},"html":{"href":"https://github.com/chef/inspec/pull/333#discussion_r48480111"},"pull_request":{"href":"https://api.github.com/repos/chef/inspec/pulls/333"}}},"pull_request":{"url":"https://api.github.com/repos/chef/inspec/pulls/333","id":54503149,"html_url":"https://github.com/chef/inspec/pull/333","diff_url":"https://github.com/chef/inspec/pull/333.diff","patch_url":"https://github.com/chef/inspec/pull/333.patch","issue_url":"https://api.github.com/repos/chef/inspec/issues/333","number":333,"state":"open","locked":false,"title":"Adding AIX classes, tests, and targetted ssh testing","user":{"login":"foobarbam","id":10083384,"avatar_url":"https://avatars.githubusercontent.com/u/10083384?v=3","gravatar_id":"","url":"https://api.github.com/users/foobarbam","html_url":"https://github.com/foobarbam","followers_url":"https://api.github.com/users/foobarbam/followers","following_url":"https://api.github.com/users/foobarbam/following{/other_user}","gists_url":"https://api.github.com/users/foobarbam/gists{/gist_id}","starred_url":"https://api.github.com/users/foobarbam/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/foobarbam/subscriptions","organizations_url":"https://api.github.com/users/foobarbam/orgs","repos_url":"https://api.github.com/users/foobarbam/repos","events_url":"https://api.github.com/users/foobarbam/events{/privacy}","received_events_url":"https://api.github.com/users/foobarbam/received_events","type":"User","site_admin":false},"body":"```\r\nrake test:ssh[user@server]\r\nsh -c bin/inspec exec /home/foobarbam/src/gems/inspec/test/integration/test/integration/default/* --sudo -t ssh://user@server --key_files=/home/foobarbam/.ssh/id_rsa\r\n\"You are currently running on OS family: aix, OS release: 6.1\"\r\n.............................................................................................................\r\n\r\nFinished in 21.65 seconds (files took 19.21 seconds to load)\r\n109 examples, 0 failures\r\n\r\n```","created_at":"2015-12-23T20:17:03Z","updated_at":"2015-12-28T13:50:56Z","closed_at":null,"merged_at":null,"merge_commit_sha":"51d91f93a849a6d90c9f3c2900ba1465e4091112","assignee":null,"milestone":null,"commits_url":"https://api.github.com/repos/chef/inspec/pulls/333/commits","review_comments_url":"https://api.github.com/repos/chef/inspec/pulls/333/comments","review_comment_url":"https://api.github.com/repos/chef/inspec/pulls/comments{/number}","comments_url":"https://api.github.com/repos/chef/inspec/issues/333/comments","statuses_url":"https://api.github.com/repos/chef/inspec/statuses/7f02e2927f24d9702e5bf1830178dc587231a7eb","head":{"label":"foobarbam:master","ref":"master","sha":"7f02e2927f24d9702e5bf1830178dc587231a7eb","user":{"login":"foobarbam","id":10083384,"avatar_url":"https://avatars.githubusercontent.com/u/10083384?v=3","gravatar_id":"","url":"https://api.github.com/users/foobarbam","html_url":"https://github.com/foobarbam","followers_url":"https://api.github.com/users/foobarbam/followers","following_url":"https://api.github.com/users/foobarbam/following{/other_user}","gists_url":"https://api.github.com/users/foobarbam/gists{/gist_id}","starred_url":"https://api.github.com/users/foobarbam/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/foobarbam/subscriptions","organizations_url":"https://api.github.com/users/foobarbam/orgs","repos_url":"https://api.github.com/users/foobarbam/repos","events_url":"https://api.github.com/users/foobarbam/events{/privacy}","received_events_url":"https://api.github.com/users/foobarbam/received_events","type":"User","site_admin":false},"repo":{"id":48202913,"name":"inspec","full_name":"foobarbam/inspec","owner":{"login":"foobarbam","id":10083384,"avatar_url":"https://avatars.githubusercontent.com/u/10083384?v=3","gravatar_id":"","url":"https://api.github.com/users/foobarbam","html_url":"https://github.com/foobarbam","followers_url":"https://api.github.com/users/foobarbam/followers","following_url":"https://api.github.com/users/foobarbam/following{/other_user}","gists_url":"https://api.github.com/users/foobarbam/gists{/gist_id}","starred_url":"https://api.github.com/users/foobarbam/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/foobarbam/subscriptions","organizations_url":"https://api.github.com/users/foobarbam/orgs","repos_url":"https://api.github.com/users/foobarbam/repos","events_url":"https://api.github.com/users/foobarbam/events{/privacy}","received_events_url":"https://api.github.com/users/foobarbam/received_events","type":"User","site_admin":false},"private":false,"html_url":"https://github.com/foobarbam/inspec","description":"InSpec: Auditing and Testing Framework","fork":true,"url":"https://api.github.com/repos/foobarbam/inspec","forks_url":"https://api.github.com/repos/foobarbam/inspec/forks","keys_url":"https://api.github.com/repos/foobarbam/inspec/keys{/key_id}","collaborators_url":"https://api.github.com/repos/foobarbam/inspec/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/foobarbam/inspec/teams","hooks_url":"https://api.github.com/repos/foobarbam/inspec/hooks","issue_events_url":"https://api.github.com/repos/foobarbam/inspec/issues/events{/number}","events_url":"https://api.github.com/repos/foobarbam/inspec/events","assignees_url":"https://api.github.com/repos/foobarbam/inspec/assignees{/user}","branches_url":"https://api.github.com/repos/foobarbam/inspec/branches{/branch}","tags_url":"https://api.github.com/repos/foobarbam/inspec/tags","blobs_url":"https://api.github.com/repos/foobarbam/inspec/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/foobarbam/inspec/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/foobarbam/inspec/git/refs{/sha}","trees_url":"https://api.github.com/repos/foobarbam/inspec/git/trees{/sha}","statuses_url":"https://api.github.com/repos/foobarbam/inspec/statuses/{sha}","languages_url":"https://api.github.com/repos/foobarbam/inspec/languages","stargazers_url":"https://api.github.com/repos/foobarbam/inspec/stargazers","contributors_url":"https://api.github.com/repos/foobarbam/inspec/contributors","subscribers_url":"https://api.github.com/repos/foobarbam/inspec/subscribers","subscription_url":"https://api.github.com/repos/foobarbam/inspec/subscription","commits_url":"https://api.github.com/repos/foobarbam/inspec/commits{/sha}","git_commits_url":"https://api.github.com/repos/foobarbam/inspec/git/commits{/sha}","comments_url":"https://api.github.com/repos/foobarbam/inspec/comments{/number}","issue_comment_url":"https://api.github.com/repos/foobarbam/inspec/issues/comments{/number}","contents_url":"https://api.github.com/repos/foobarbam/inspec/contents/{+path}","compare_url":"https://api.github.com/repos/foobarbam/inspec/compare/{base}...{head}","merges_url":"https://api.github.com/repos/foobarbam/inspec/merges","archive_url":"https://api.github.com/repos/foobarbam/inspec/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/foobarbam/inspec/downloads","issues_url":"https://api.github.com/repos/foobarbam/inspec/issues{/number}","pulls_url":"https://api.github.com/repos/foobarbam/inspec/pulls{/number}","milestones_url":"https://api.github.com/repos/foobarbam/inspec/milestones{/number}","notifications_url":"https://api.github.com/repos/foobarbam/inspec/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/foobarbam/inspec/labels{/name}","releases_url":"https://api.github.com/repos/foobarbam/inspec/releases{/id}","created_at":"2015-12-17T23:03:37Z","updated_at":"2015-12-17T23:03:38Z","pushed_at":"2015-12-23T21:53:42Z","git_url":"git://github.com/foobarbam/inspec.git","ssh_url":"git@github.com:foobarbam/inspec.git","clone_url":"https://github.com/foobarbam/inspec.git","svn_url":"https://github.com/foobarbam/inspec","homepage":"","size":1231,"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":"chef:master","ref":"master","sha":"f70c6acb8f8e266ea270ea724da607de7ba511de","user":{"login":"chef","id":29740,"avatar_url":"https://avatars.githubusercontent.com/u/29740?v=3","gravatar_id":"","url":"https://api.github.com/users/chef","html_url":"https://github.com/chef","followers_url":"https://api.github.com/users/chef/followers","following_url":"https://api.github.com/users/chef/following{/other_user}","gists_url":"https://api.github.com/users/chef/gists{/gist_id}","starred_url":"https://api.github.com/users/chef/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/chef/subscriptions","organizations_url":"https://api.github.com/users/chef/orgs","repos_url":"https://api.github.com/users/chef/repos","events_url":"https://api.github.com/users/chef/events{/privacy}","received_events_url":"https://api.github.com/users/chef/received_events","type":"Organization","site_admin":false},"repo":{"id":41571541,"name":"inspec","full_name":"chef/inspec","owner":{"login":"chef","id":29740,"avatar_url":"https://avatars.githubusercontent.com/u/29740?v=3","gravatar_id":"","url":"https://api.github.com/users/chef","html_url":"https://github.com/chef","followers_url":"https://api.github.com/users/chef/followers","following_url":"https://api.github.com/users/chef/following{/other_user}","gists_url":"https://api.github.com/users/chef/gists{/gist_id}","starred_url":"https://api.github.com/users/chef/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/chef/subscriptions","organizations_url":"https://api.github.com/users/chef/orgs","repos_url":"https://api.github.com/users/chef/repos","events_url":"https://api.github.com/users/chef/events{/privacy}","received_events_url":"https://api.github.com/users/chef/received_events","type":"Organization","site_admin":false},"private":false,"html_url":"https://github.com/chef/inspec","description":"InSpec: Auditing and Testing Framework","fork":false,"url":"https://api.github.com/repos/chef/inspec","forks_url":"https://api.github.com/repos/chef/inspec/forks","keys_url":"https://api.github.com/repos/chef/inspec/keys{/key_id}","collaborators_url":"https://api.github.com/repos/chef/inspec/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/chef/inspec/teams","hooks_url":"https://api.github.com/repos/chef/inspec/hooks","issue_events_url":"https://api.github.com/repos/chef/inspec/issues/events{/number}","events_url":"https://api.github.com/repos/chef/inspec/events","assignees_url":"https://api.github.com/repos/chef/inspec/assignees{/user}","branches_url":"https://api.github.com/repos/chef/inspec/branches{/branch}","tags_url":"https://api.github.com/repos/chef/inspec/tags","blobs_url":"https://api.github.com/repos/chef/inspec/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/chef/inspec/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/chef/inspec/git/refs{/sha}","trees_url":"https://api.github.com/repos/chef/inspec/git/trees{/sha}","statuses_url":"https://api.github.com/repos/chef/inspec/statuses/{sha}","languages_url":"https://api.github.com/repos/chef/inspec/languages","stargazers_url":"https://api.github.com/repos/chef/inspec/stargazers","contributors_url":"https://api.github.com/repos/chef/inspec/contributors","subscribers_url":"https://api.github.com/repos/chef/inspec/subscribers","subscription_url":"https://api.github.com/repos/chef/inspec/subscription","commits_url":"https://api.github.com/repos/chef/inspec/commits{/sha}","git_commits_url":"https://api.github.com/repos/chef/inspec/git/commits{/sha}","comments_url":"https://api.github.com/repos/chef/inspec/comments{/number}","issue_comment_url":"https://api.github.com/repos/chef/inspec/issues/comments{/number}","contents_url":"https://api.github.com/repos/chef/inspec/contents/{+path}","compare_url":"https://api.github.com/repos/chef/inspec/compare/{base}...{head}","merges_url":"https://api.github.com/repos/chef/inspec/merges","archive_url":"https://api.github.com/repos/chef/inspec/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/chef/inspec/downloads","issues_url":"https://api.github.com/repos/chef/inspec/issues{/number}","pulls_url":"https://api.github.com/repos/chef/inspec/pulls{/number}","milestones_url":"https://api.github.com/repos/chef/inspec/milestones{/number}","notifications_url":"https://api.github.com/repos/chef/inspec/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/chef/inspec/labels{/name}","releases_url":"https://api.github.com/repos/chef/inspec/releases{/id}","created_at":"2015-08-28T22:16:01Z","updated_at":"2015-12-26T21:55:03Z","pushed_at":"2015-12-28T12:47:05Z","git_url":"git://github.com/chef/inspec.git","ssh_url":"git@github.com:chef/inspec.git","clone_url":"https://github.com/chef/inspec.git","svn_url":"https://github.com/chef/inspec","homepage":"","size":1337,"stargazers_count":200,"watchers_count":200,"language":"Ruby","has_issues":true,"has_downloads":true,"has_wiki":true,"has_pages":false,"forks_count":20,"mirror_url":null,"open_issues_count":41,"forks":20,"open_issues":41,"watchers":200,"default_branch":"master"}},"_links":{"self":{"href":"https://api.github.com/repos/chef/inspec/pulls/333"},"html":{"href":"https://github.com/chef/inspec/pull/333"},"issue":{"href":"https://api.github.com/repos/chef/inspec/issues/333"},"comments":{"href":"https://api.github.com/repos/chef/inspec/issues/333/comments"},"review_comments":{"href":"https://api.github.com/repos/chef/inspec/pulls/333/comments"},"review_comment":{"href":"https://api.github.com/repos/chef/inspec/pulls/comments{/number}"},"commits":{"href":"https://api.github.com/repos/chef/inspec/pulls/333/commits"},"statuses":{"href":"https://api.github.com/repos/chef/inspec/statuses/7f02e2927f24d9702e5bf1830178dc587231a7eb"}}}}