{"action":"created","comment":{"url":"https://api.github.com/repos/ploperations/ploperations-classification/pulls/comments/227094148","pull_request_review_id":167056360,"id":227094148,"node_id":"MDI0OlB1bGxSZXF1ZXN0UmV2aWV3Q29tbWVudDIyNzA5NDE0OA==","diff_hunk":"@@ -0,0 +1,25 @@\n+# @summary If the list of differences has any values fail the run and list the issues.\n+#\n+# If the list of differences has any values fail the run and list the issues.\n+#\n+# @example\n+#   $fact_differences = $root_level_fact_differences + $classification_fact_differences\n+#   classification::test_fact_difference_array($fact_differences)\n+#\n+# @param fact_differences An array of strings.\n+#   These strings are generated by\n+#   `classification::compare_root_level_facts` and\n+#   `classification::compare_classification_facts`\n+#\n+# @return [Boolean]\n+function classification::test_fact_difference_array(Array $fact_differences) >> Boolean {\n+  $return = true\n+\n+  if $fact_differences.size() > 0 {\n+    $return = false\n+    fail(([\"Untrusted facts (left) don't match values from certname (right):\"]","path":"functions/test_fact_difference_array.pp","position":20,"original_position":20,"commit_id":"0dc3dc3537db2efc1225f14cf10a1096ff1c74b9","original_commit_id":"0dc3dc3537db2efc1225f14cf10a1096ff1c74b9","user":{"login":"danielparks","id":154427,"node_id":"MDQ6VXNlcjE1NDQyNw==","avatar_url":"https://avatars0.githubusercontent.com/u/154427?v=4","gravatar_id":"","url":"https://api.github.com/users/danielparks","html_url":"https://github.com/danielparks","followers_url":"https://api.github.com/users/danielparks/followers","following_url":"https://api.github.com/users/danielparks/following{/other_user}","gists_url":"https://api.github.com/users/danielparks/gists{/gist_id}","starred_url":"https://api.github.com/users/danielparks/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/danielparks/subscriptions","organizations_url":"https://api.github.com/users/danielparks/orgs","repos_url":"https://api.github.com/users/danielparks/repos","events_url":"https://api.github.com/users/danielparks/events{/privacy}","received_events_url":"https://api.github.com/users/danielparks/received_events","type":"User","site_admin":false},"body":"Ah, cool","created_at":"2018-10-22T18:54:51Z","updated_at":"2018-10-22T18:54:52Z","html_url":"https://github.com/ploperations/ploperations-classification/pull/3#discussion_r227094148","pull_request_url":"https://api.github.com/repos/ploperations/ploperations-classification/pulls/3","author_association":"CONTRIBUTOR","_links":{"self":{"href":"https://api.github.com/repos/ploperations/ploperations-classification/pulls/comments/227094148"},"html":{"href":"https://github.com/ploperations/ploperations-classification/pull/3#discussion_r227094148"},"pull_request":{"href":"https://api.github.com/repos/ploperations/ploperations-classification/pulls/3"}},"in_reply_to_id":226781206},"pull_request":{"url":"https://api.github.com/repos/ploperations/ploperations-classification/pulls/3","id":222548635,"node_id":"MDExOlB1bGxSZXF1ZXN0MjIyNTQ4NjM1","html_url":"https://github.com/ploperations/ploperations-classification/pull/3","diff_url":"https://github.com/ploperations/ploperations-classification/pull/3.diff","patch_url":"https://github.com/ploperations/ploperations-classification/pull/3.patch","issue_url":"https://api.github.com/repos/ploperations/ploperations-classification/issues/3","number":3,"state":"open","locked":false,"title":"Refactored to use functions and updated docs","user":{"login":"genebean","id":966789,"node_id":"MDQ6VXNlcjk2Njc4OQ==","avatar_url":"https://avatars2.githubusercontent.com/u/966789?v=4","gravatar_id":"","url":"https://api.github.com/users/genebean","html_url":"https://github.com/genebean","followers_url":"https://api.github.com/users/genebean/followers","following_url":"https://api.github.com/users/genebean/following{/other_user}","gists_url":"https://api.github.com/users/genebean/gists{/gist_id}","starred_url":"https://api.github.com/users/genebean/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/genebean/subscriptions","organizations_url":"https://api.github.com/users/genebean/orgs","repos_url":"https://api.github.com/users/genebean/repos","events_url":"https://api.github.com/users/genebean/events{/privacy}","received_events_url":"https://api.github.com/users/genebean/received_events","type":"User","site_admin":false},"body":null,"created_at":"2018-10-12T18:24:10Z","updated_at":"2018-10-22T18:54:52Z","closed_at":null,"merged_at":null,"merge_commit_sha":"4ab3c032b7d776409117469910cc0d2862a74f91","assignee":null,"assignees":[],"requested_reviewers":[{"login":"kfjohnson","id":1189397,"node_id":"MDQ6VXNlcjExODkzOTc=","avatar_url":"https://avatars3.githubusercontent.com/u/1189397?v=4","gravatar_id":"","url":"https://api.github.com/users/kfjohnson","html_url":"https://github.com/kfjohnson","followers_url":"https://api.github.com/users/kfjohnson/followers","following_url":"https://api.github.com/users/kfjohnson/following{/other_user}","gists_url":"https://api.github.com/users/kfjohnson/gists{/gist_id}","starred_url":"https://api.github.com/users/kfjohnson/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/kfjohnson/subscriptions","organizations_url":"https://api.github.com/users/kfjohnson/orgs","repos_url":"https://api.github.com/users/kfjohnson/repos","events_url":"https://api.github.com/users/kfjohnson/events{/privacy}","received_events_url":"https://api.github.com/users/kfjohnson/received_events","type":"User","site_admin":false},{"login":"mikkergimenez","id":1271344,"node_id":"MDQ6VXNlcjEyNzEzNDQ=","avatar_url":"https://avatars2.githubusercontent.com/u/1271344?v=4","gravatar_id":"","url":"https://api.github.com/users/mikkergimenez","html_url":"https://github.com/mikkergimenez","followers_url":"https://api.github.com/users/mikkergimenez/followers","following_url":"https://api.github.com/users/mikkergimenez/following{/other_user}","gists_url":"https://api.github.com/users/mikkergimenez/gists{/gist_id}","starred_url":"https://api.github.com/users/mikkergimenez/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/mikkergimenez/subscriptions","organizations_url":"https://api.github.com/users/mikkergimenez/orgs","repos_url":"https://api.github.com/users/mikkergimenez/repos","events_url":"https://api.github.com/users/mikkergimenez/events{/privacy}","received_events_url":"https://api.github.com/users/mikkergimenez/received_events","type":"User","site_admin":false}],"requested_teams":[],"labels":[],"milestone":null,"commits_url":"https://api.github.com/repos/ploperations/ploperations-classification/pulls/3/commits","review_comments_url":"https://api.github.com/repos/ploperations/ploperations-classification/pulls/3/comments","review_comment_url":"https://api.github.com/repos/ploperations/ploperations-classification/pulls/comments{/number}","comments_url":"https://api.github.com/repos/ploperations/ploperations-classification/issues/3/comments","statuses_url":"https://api.github.com/repos/ploperations/ploperations-classification/statuses/0dc3dc3537db2efc1225f14cf10a1096ff1c74b9","head":{"label":"ploperations:functions_and_docs","ref":"functions_and_docs","sha":"0dc3dc3537db2efc1225f14cf10a1096ff1c74b9","user":{"login":"ploperations","id":44099603,"node_id":"MDEyOk9yZ2FuaXphdGlvbjQ0MDk5NjAz","avatar_url":"https://avatars3.githubusercontent.com/u/44099603?v=4","gravatar_id":"","url":"https://api.github.com/users/ploperations","html_url":"https://github.com/ploperations","followers_url":"https://api.github.com/users/ploperations/followers","following_url":"https://api.github.com/users/ploperations/following{/other_user}","gists_url":"https://api.github.com/users/ploperations/gists{/gist_id}","starred_url":"https://api.github.com/users/ploperations/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/ploperations/subscriptions","organizations_url":"https://api.github.com/users/ploperations/orgs","repos_url":"https://api.github.com/users/ploperations/repos","events_url":"https://api.github.com/users/ploperations/events{/privacy}","received_events_url":"https://api.github.com/users/ploperations/received_events","type":"Organization","site_admin":false},"repo":{"id":152143263,"node_id":"MDEwOlJlcG9zaXRvcnkxNTIxNDMyNjM=","name":"ploperations-classification","full_name":"ploperations/ploperations-classification","private":false,"owner":{"login":"ploperations","id":44099603,"node_id":"MDEyOk9yZ2FuaXphdGlvbjQ0MDk5NjAz","avatar_url":"https://avatars3.githubusercontent.com/u/44099603?v=4","gravatar_id":"","url":"https://api.github.com/users/ploperations","html_url":"https://github.com/ploperations","followers_url":"https://api.github.com/users/ploperations/followers","following_url":"https://api.github.com/users/ploperations/following{/other_user}","gists_url":"https://api.github.com/users/ploperations/gists{/gist_id}","starred_url":"https://api.github.com/users/ploperations/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/ploperations/subscriptions","organizations_url":"https://api.github.com/users/ploperations/orgs","repos_url":"https://api.github.com/users/ploperations/repos","events_url":"https://api.github.com/users/ploperations/events{/privacy}","received_events_url":"https://api.github.com/users/ploperations/received_events","type":"Organization","site_admin":false},"html_url":"https://github.com/ploperations/ploperations-classification","description":"Determine group, function, etc. for classification based on certname.","fork":false,"url":"https://api.github.com/repos/ploperations/ploperations-classification","forks_url":"https://api.github.com/repos/ploperations/ploperations-classification/forks","keys_url":"https://api.github.com/repos/ploperations/ploperations-classification/keys{/key_id}","collaborators_url":"https://api.github.com/repos/ploperations/ploperations-classification/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/ploperations/ploperations-classification/teams","hooks_url":"https://api.github.com/repos/ploperations/ploperations-classification/hooks","issue_events_url":"https://api.github.com/repos/ploperations/ploperations-classification/issues/events{/number}","events_url":"https://api.github.com/repos/ploperations/ploperations-classification/events","assignees_url":"https://api.github.com/repos/ploperations/ploperations-classification/assignees{/user}","branches_url":"https://api.github.com/repos/ploperations/ploperations-classification/branches{/branch}","tags_url":"https://api.github.com/repos/ploperations/ploperations-classification/tags","blobs_url":"https://api.github.com/repos/ploperations/ploperations-classification/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/ploperations/ploperations-classification/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/ploperations/ploperations-classification/git/refs{/sha}","trees_url":"https://api.github.com/repos/ploperations/ploperations-classification/git/trees{/sha}","statuses_url":"https://api.github.com/repos/ploperations/ploperations-classification/statuses/{sha}","languages_url":"https://api.github.com/repos/ploperations/ploperations-classification/languages","stargazers_url":"https://api.github.com/repos/ploperations/ploperations-classification/stargazers","contributors_url":"https://api.github.com/repos/ploperations/ploperations-classification/contributors","subscribers_url":"https://api.github.com/repos/ploperations/ploperations-classification/subscribers","subscription_url":"https://api.github.com/repos/ploperations/ploperations-classification/subscription","commits_url":"https://api.github.com/repos/ploperations/ploperations-classification/commits{/sha}","git_commits_url":"https://api.github.com/repos/ploperations/ploperations-classification/git/commits{/sha}","comments_url":"https://api.github.com/repos/ploperations/ploperations-classification/comments{/number}","issue_comment_url":"https://api.github.com/repos/ploperations/ploperations-classification/issues/comments{/number}","contents_url":"https://api.github.com/repos/ploperations/ploperations-classification/contents/{+path}","compare_url":"https://api.github.com/repos/ploperations/ploperations-classification/compare/{base}...{head}","merges_url":"https://api.github.com/repos/ploperations/ploperations-classification/merges","archive_url":"https://api.github.com/repos/ploperations/ploperations-classification/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/ploperations/ploperations-classification/downloads","issues_url":"https://api.github.com/repos/ploperations/ploperations-classification/issues{/number}","pulls_url":"https://api.github.com/repos/ploperations/ploperations-classification/pulls{/number}","milestones_url":"https://api.github.com/repos/ploperations/ploperations-classification/milestones{/number}","notifications_url":"https://api.github.com/repos/ploperations/ploperations-classification/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/ploperations/ploperations-classification/labels{/name}","releases_url":"https://api.github.com/repos/ploperations/ploperations-classification/releases{/id}","deployments_url":"https://api.github.com/repos/ploperations/ploperations-classification/deployments","created_at":"2018-10-08T20:35:53Z","updated_at":"2018-10-12T18:55:37Z","pushed_at":"2018-10-12T18:55:19Z","git_url":"git://github.com/ploperations/ploperations-classification.git","ssh_url":"git@github.com:ploperations/ploperations-classification.git","clone_url":"https://github.com/ploperations/ploperations-classification.git","svn_url":"https://github.com/ploperations/ploperations-classification","homepage":"","size":30,"stargazers_count":0,"watchers_count":0,"language":"Ruby","has_issues":true,"has_projects":true,"has_downloads":true,"has_wiki":true,"has_pages":false,"forks_count":0,"mirror_url":null,"archived":false,"open_issues_count":1,"license":{"key":"apache-2.0","name":"Apache License 2.0","spdx_id":"Apache-2.0","url":"https://api.github.com/licenses/apache-2.0","node_id":"MDc6TGljZW5zZTI="},"forks":0,"open_issues":1,"watchers":0,"default_branch":"master"}},"base":{"label":"ploperations:master","ref":"master","sha":"a0ee04c65d89ca648113e96d15c5001c70fc718d","user":{"login":"ploperations","id":44099603,"node_id":"MDEyOk9yZ2FuaXphdGlvbjQ0MDk5NjAz","avatar_url":"https://avatars3.githubusercontent.com/u/44099603?v=4","gravatar_id":"","url":"https://api.github.com/users/ploperations","html_url":"https://github.com/ploperations","followers_url":"https://api.github.com/users/ploperations/followers","following_url":"https://api.github.com/users/ploperations/following{/other_user}","gists_url":"https://api.github.com/users/ploperations/gists{/gist_id}","starred_url":"https://api.github.com/users/ploperations/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/ploperations/subscriptions","organizations_url":"https://api.github.com/users/ploperations/orgs","repos_url":"https://api.github.com/users/ploperations/repos","events_url":"https://api.github.com/users/ploperations/events{/privacy}","received_events_url":"https://api.github.com/users/ploperations/received_events","type":"Organization","site_admin":false},"repo":{"id":152143263,"node_id":"MDEwOlJlcG9zaXRvcnkxNTIxNDMyNjM=","name":"ploperations-classification","full_name":"ploperations/ploperations-classification","private":false,"owner":{"login":"ploperations","id":44099603,"node_id":"MDEyOk9yZ2FuaXphdGlvbjQ0MDk5NjAz","avatar_url":"https://avatars3.githubusercontent.com/u/44099603?v=4","gravatar_id":"","url":"https://api.github.com/users/ploperations","html_url":"https://github.com/ploperations","followers_url":"https://api.github.com/users/ploperations/followers","following_url":"https://api.github.com/users/ploperations/following{/other_user}","gists_url":"https://api.github.com/users/ploperations/gists{/gist_id}","starred_url":"https://api.github.com/users/ploperations/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/ploperations/subscriptions","organizations_url":"https://api.github.com/users/ploperations/orgs","repos_url":"https://api.github.com/users/ploperations/repos","events_url":"https://api.github.com/users/ploperations/events{/privacy}","received_events_url":"https://api.github.com/users/ploperations/received_events","type":"Organization","site_admin":false},"html_url":"https://github.com/ploperations/ploperations-classification","description":"Determine group, function, etc. for classification based on certname.","fork":false,"url":"https://api.github.com/repos/ploperations/ploperations-classification","forks_url":"https://api.github.com/repos/ploperations/ploperations-classification/forks","keys_url":"https://api.github.com/repos/ploperations/ploperations-classification/keys{/key_id}","collaborators_url":"https://api.github.com/repos/ploperations/ploperations-classification/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/ploperations/ploperations-classification/teams","hooks_url":"https://api.github.com/repos/ploperations/ploperations-classification/hooks","issue_events_url":"https://api.github.com/repos/ploperations/ploperations-classification/issues/events{/number}","events_url":"https://api.github.com/repos/ploperations/ploperations-classification/events","assignees_url":"https://api.github.com/repos/ploperations/ploperations-classification/assignees{/user}","branches_url":"https://api.github.com/repos/ploperations/ploperations-classification/branches{/branch}","tags_url":"https://api.github.com/repos/ploperations/ploperations-classification/tags","blobs_url":"https://api.github.com/repos/ploperations/ploperations-classification/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/ploperations/ploperations-classification/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/ploperations/ploperations-classification/git/refs{/sha}","trees_url":"https://api.github.com/repos/ploperations/ploperations-classification/git/trees{/sha}","statuses_url":"https://api.github.com/repos/ploperations/ploperations-classification/statuses/{sha}","languages_url":"https://api.github.com/repos/ploperations/ploperations-classification/languages","stargazers_url":"https://api.github.com/repos/ploperations/ploperations-classification/stargazers","contributors_url":"https://api.github.com/repos/ploperations/ploperations-classification/contributors","subscribers_url":"https://api.github.com/repos/ploperations/ploperations-classification/subscribers","subscription_url":"https://api.github.com/repos/ploperations/ploperations-classification/subscription","commits_url":"https://api.github.com/repos/ploperations/ploperations-classification/commits{/sha}","git_commits_url":"https://api.github.com/repos/ploperations/ploperations-classification/git/commits{/sha}","comments_url":"https://api.github.com/repos/ploperations/ploperations-classification/comments{/number}","issue_comment_url":"https://api.github.com/repos/ploperations/ploperations-classification/issues/comments{/number}","contents_url":"https://api.github.com/repos/ploperations/ploperations-classification/contents/{+path}","compare_url":"https://api.github.com/repos/ploperations/ploperations-classification/compare/{base}...{head}","merges_url":"https://api.github.com/repos/ploperations/ploperations-classification/merges","archive_url":"https://api.github.com/repos/ploperations/ploperations-classification/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/ploperations/ploperations-classification/downloads","issues_url":"https://api.github.com/repos/ploperations/ploperations-classification/issues{/number}","pulls_url":"https://api.github.com/repos/ploperations/ploperations-classification/pulls{/number}","milestones_url":"https://api.github.com/repos/ploperations/ploperations-classification/milestones{/number}","notifications_url":"https://api.github.com/repos/ploperations/ploperations-classification/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/ploperations/ploperations-classification/labels{/name}","releases_url":"https://api.github.com/repos/ploperations/ploperations-classification/releases{/id}","deployments_url":"https://api.github.com/repos/ploperations/ploperations-classification/deployments","created_at":"2018-10-08T20:35:53Z","updated_at":"2018-10-12T18:55:37Z","pushed_at":"2018-10-12T18:55:19Z","git_url":"git://github.com/ploperations/ploperations-classification.git","ssh_url":"git@github.com:ploperations/ploperations-classification.git","clone_url":"https://github.com/ploperations/ploperations-classification.git","svn_url":"https://github.com/ploperations/ploperations-classification","homepage":"","size":30,"stargazers_count":0,"watchers_count":0,"language":"Ruby","has_issues":true,"has_projects":true,"has_downloads":true,"has_wiki":true,"has_pages":false,"forks_count":0,"mirror_url":null,"archived":false,"open_issues_count":1,"license":{"key":"apache-2.0","name":"Apache License 2.0","spdx_id":"Apache-2.0","url":"https://api.github.com/licenses/apache-2.0","node_id":"MDc6TGljZW5zZTI="},"forks":0,"open_issues":1,"watchers":0,"default_branch":"master"}},"_links":{"self":{"href":"https://api.github.com/repos/ploperations/ploperations-classification/pulls/3"},"html":{"href":"https://github.com/ploperations/ploperations-classification/pull/3"},"issue":{"href":"https://api.github.com/repos/ploperations/ploperations-classification/issues/3"},"comments":{"href":"https://api.github.com/repos/ploperations/ploperations-classification/issues/3/comments"},"review_comments":{"href":"https://api.github.com/repos/ploperations/ploperations-classification/pulls/3/comments"},"review_comment":{"href":"https://api.github.com/repos/ploperations/ploperations-classification/pulls/comments{/number}"},"commits":{"href":"https://api.github.com/repos/ploperations/ploperations-classification/pulls/3/commits"},"statuses":{"href":"https://api.github.com/repos/ploperations/ploperations-classification/statuses/0dc3dc3537db2efc1225f14cf10a1096ff1c74b9"}},"author_association":"MEMBER"}}
{"actor":{"display_login":"danielparks"}}