{"action":"opened","number":184,"pull_request":{"url":"https://api.github.com/repos/neillturner/kitchen-puppet/pulls/184","id":136571371,"html_url":"https://github.com/neillturner/kitchen-puppet/pull/184","diff_url":"https://github.com/neillturner/kitchen-puppet/pull/184.diff","patch_url":"https://github.com/neillturner/kitchen-puppet/pull/184.patch","issue_url":"https://api.github.com/repos/neillturner/kitchen-puppet/issues/184","number":184,"state":"open","locked":false,"title":"Add array support to custom facts","user":{"login":"cgetzen","id":5449704,"avatar_url":"https://avatars2.githubusercontent.com/u/5449704?v=4","gravatar_id":"","url":"https://api.github.com/users/cgetzen","html_url":"https://github.com/cgetzen","followers_url":"https://api.github.com/users/cgetzen/followers","following_url":"https://api.github.com/users/cgetzen/following{/other_user}","gists_url":"https://api.github.com/users/cgetzen/gists{/gist_id}","starred_url":"https://api.github.com/users/cgetzen/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/cgetzen/subscriptions","organizations_url":"https://api.github.com/users/cgetzen/orgs","repos_url":"https://api.github.com/users/cgetzen/repos","events_url":"https://api.github.com/users/cgetzen/events{/privacy}","received_events_url":"https://api.github.com/users/cgetzen/received_events","type":"User","site_admin":false},"body":"Previously only worked with Hash, now supports arrays. \r\nex:\r\n\r\n```\r\nlist_of_ips:\r\n  - 10.0.0.1\r\n  - 192.168.10.10\r\n```\r\n\r\nPrevious Output:\r\n```\r\nFacter.add(:ossec_manager_ips) do\r\n  setcode do\r\n    \"[\"10.0.0.1\", \"192.168.10.10\"]\"\r\n  end\r\nend\r\n```\r\n\r\nNew Output:\r\n```\r\nFacter.add(:ossec_manager_ips) do\r\n  setcode do\r\n    [\"10.0.0.1\", \"192.168.10.10\"]\r\n  end\r\nend\r\n```\r\n\r\nCurrent issues:\r\n - Cannot create an empty list. (Is there a better way to be adding facts other than passing them into kitchen.yml?)","created_at":"2017-08-18T21:53:57Z","updated_at":"2017-08-18T21:53:57Z","closed_at":null,"merged_at":null,"merge_commit_sha":null,"assignee":null,"assignees":[],"requested_reviewers":[],"milestone":null,"commits_url":"https://api.github.com/repos/neillturner/kitchen-puppet/pulls/184/commits","review_comments_url":"https://api.github.com/repos/neillturner/kitchen-puppet/pulls/184/comments","review_comment_url":"https://api.github.com/repos/neillturner/kitchen-puppet/pulls/comments{/number}","comments_url":"https://api.github.com/repos/neillturner/kitchen-puppet/issues/184/comments","statuses_url":"https://api.github.com/repos/neillturner/kitchen-puppet/statuses/d0597a35070b1c53925283b537fe48f282570eab","head":{"label":"cgetzen:add_list_support_to_custom_facts","ref":"add_list_support_to_custom_facts","sha":"d0597a35070b1c53925283b537fe48f282570eab","user":{"login":"cgetzen","id":5449704,"avatar_url":"https://avatars2.githubusercontent.com/u/5449704?v=4","gravatar_id":"","url":"https://api.github.com/users/cgetzen","html_url":"https://github.com/cgetzen","followers_url":"https://api.github.com/users/cgetzen/followers","following_url":"https://api.github.com/users/cgetzen/following{/other_user}","gists_url":"https://api.github.com/users/cgetzen/gists{/gist_id}","starred_url":"https://api.github.com/users/cgetzen/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/cgetzen/subscriptions","organizations_url":"https://api.github.com/users/cgetzen/orgs","repos_url":"https://api.github.com/users/cgetzen/repos","events_url":"https://api.github.com/users/cgetzen/events{/privacy}","received_events_url":"https://api.github.com/users/cgetzen/received_events","type":"User","site_admin":false},"repo":{"id":99364536,"name":"kitchen-puppet","full_name":"cgetzen/kitchen-puppet","owner":{"login":"cgetzen","id":5449704,"avatar_url":"https://avatars2.githubusercontent.com/u/5449704?v=4","gravatar_id":"","url":"https://api.github.com/users/cgetzen","html_url":"https://github.com/cgetzen","followers_url":"https://api.github.com/users/cgetzen/followers","following_url":"https://api.github.com/users/cgetzen/following{/other_user}","gists_url":"https://api.github.com/users/cgetzen/gists{/gist_id}","starred_url":"https://api.github.com/users/cgetzen/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/cgetzen/subscriptions","organizations_url":"https://api.github.com/users/cgetzen/orgs","repos_url":"https://api.github.com/users/cgetzen/repos","events_url":"https://api.github.com/users/cgetzen/events{/privacy}","received_events_url":"https://api.github.com/users/cgetzen/received_events","type":"User","site_admin":false},"private":false,"html_url":"https://github.com/cgetzen/kitchen-puppet","description":"A Test Kitchen Provisioner for Puppet","fork":true,"url":"https://api.github.com/repos/cgetzen/kitchen-puppet","forks_url":"https://api.github.com/repos/cgetzen/kitchen-puppet/forks","keys_url":"https://api.github.com/repos/cgetzen/kitchen-puppet/keys{/key_id}","collaborators_url":"https://api.github.com/repos/cgetzen/kitchen-puppet/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/cgetzen/kitchen-puppet/teams","hooks_url":"https://api.github.com/repos/cgetzen/kitchen-puppet/hooks","issue_events_url":"https://api.github.com/repos/cgetzen/kitchen-puppet/issues/events{/number}","events_url":"https://api.github.com/repos/cgetzen/kitchen-puppet/events","assignees_url":"https://api.github.com/repos/cgetzen/kitchen-puppet/assignees{/user}","branches_url":"https://api.github.com/repos/cgetzen/kitchen-puppet/branches{/branch}","tags_url":"https://api.github.com/repos/cgetzen/kitchen-puppet/tags","blobs_url":"https://api.github.com/repos/cgetzen/kitchen-puppet/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/cgetzen/kitchen-puppet/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/cgetzen/kitchen-puppet/git/refs{/sha}","trees_url":"https://api.github.com/repos/cgetzen/kitchen-puppet/git/trees{/sha}","statuses_url":"https://api.github.com/repos/cgetzen/kitchen-puppet/statuses/{sha}","languages_url":"https://api.github.com/repos/cgetzen/kitchen-puppet/languages","stargazers_url":"https://api.github.com/repos/cgetzen/kitchen-puppet/stargazers","contributors_url":"https://api.github.com/repos/cgetzen/kitchen-puppet/contributors","subscribers_url":"https://api.github.com/repos/cgetzen/kitchen-puppet/subscribers","subscription_url":"https://api.github.com/repos/cgetzen/kitchen-puppet/subscription","commits_url":"https://api.github.com/repos/cgetzen/kitchen-puppet/commits{/sha}","git_commits_url":"https://api.github.com/repos/cgetzen/kitchen-puppet/git/commits{/sha}","comments_url":"https://api.github.com/repos/cgetzen/kitchen-puppet/comments{/number}","issue_comment_url":"https://api.github.com/repos/cgetzen/kitchen-puppet/issues/comments{/number}","contents_url":"https://api.github.com/repos/cgetzen/kitchen-puppet/contents/{+path}","compare_url":"https://api.github.com/repos/cgetzen/kitchen-puppet/compare/{base}...{head}","merges_url":"https://api.github.com/repos/cgetzen/kitchen-puppet/merges","archive_url":"https://api.github.com/repos/cgetzen/kitchen-puppet/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/cgetzen/kitchen-puppet/downloads","issues_url":"https://api.github.com/repos/cgetzen/kitchen-puppet/issues{/number}","pulls_url":"https://api.github.com/repos/cgetzen/kitchen-puppet/pulls{/number}","milestones_url":"https://api.github.com/repos/cgetzen/kitchen-puppet/milestones{/number}","notifications_url":"https://api.github.com/repos/cgetzen/kitchen-puppet/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/cgetzen/kitchen-puppet/labels{/name}","releases_url":"https://api.github.com/repos/cgetzen/kitchen-puppet/releases{/id}","deployments_url":"https://api.github.com/repos/cgetzen/kitchen-puppet/deployments","created_at":"2017-08-04T17:14:15Z","updated_at":"2017-08-04T17:14:17Z","pushed_at":"2017-08-18T21:50:04Z","git_url":"git://github.com/cgetzen/kitchen-puppet.git","ssh_url":"git@github.com:cgetzen/kitchen-puppet.git","clone_url":"https://github.com/cgetzen/kitchen-puppet.git","svn_url":"https://github.com/cgetzen/kitchen-puppet","homepage":null,"size":517,"stargazers_count":0,"watchers_count":0,"language":"Ruby","has_issues":false,"has_projects":true,"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":"neillturner:master","ref":"master","sha":"4da6e76e8683b41d413c54d78b80060d62240a69","user":{"login":"neillturner","id":408419,"avatar_url":"https://avatars3.githubusercontent.com/u/408419?v=4","gravatar_id":"","url":"https://api.github.com/users/neillturner","html_url":"https://github.com/neillturner","followers_url":"https://api.github.com/users/neillturner/followers","following_url":"https://api.github.com/users/neillturner/following{/other_user}","gists_url":"https://api.github.com/users/neillturner/gists{/gist_id}","starred_url":"https://api.github.com/users/neillturner/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/neillturner/subscriptions","organizations_url":"https://api.github.com/users/neillturner/orgs","repos_url":"https://api.github.com/users/neillturner/repos","events_url":"https://api.github.com/users/neillturner/events{/privacy}","received_events_url":"https://api.github.com/users/neillturner/received_events","type":"User","site_admin":false},"repo":{"id":17982967,"name":"kitchen-puppet","full_name":"neillturner/kitchen-puppet","owner":{"login":"neillturner","id":408419,"avatar_url":"https://avatars3.githubusercontent.com/u/408419?v=4","gravatar_id":"","url":"https://api.github.com/users/neillturner","html_url":"https://github.com/neillturner","followers_url":"https://api.github.com/users/neillturner/followers","following_url":"https://api.github.com/users/neillturner/following{/other_user}","gists_url":"https://api.github.com/users/neillturner/gists{/gist_id}","starred_url":"https://api.github.com/users/neillturner/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/neillturner/subscriptions","organizations_url":"https://api.github.com/users/neillturner/orgs","repos_url":"https://api.github.com/users/neillturner/repos","events_url":"https://api.github.com/users/neillturner/events{/privacy}","received_events_url":"https://api.github.com/users/neillturner/received_events","type":"User","site_admin":false},"private":false,"html_url":"https://github.com/neillturner/kitchen-puppet","description":"A Test Kitchen Provisioner for Puppet","fork":false,"url":"https://api.github.com/repos/neillturner/kitchen-puppet","forks_url":"https://api.github.com/repos/neillturner/kitchen-puppet/forks","keys_url":"https://api.github.com/repos/neillturner/kitchen-puppet/keys{/key_id}","collaborators_url":"https://api.github.com/repos/neillturner/kitchen-puppet/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/neillturner/kitchen-puppet/teams","hooks_url":"https://api.github.com/repos/neillturner/kitchen-puppet/hooks","issue_events_url":"https://api.github.com/repos/neillturner/kitchen-puppet/issues/events{/number}","events_url":"https://api.github.com/repos/neillturner/kitchen-puppet/events","assignees_url":"https://api.github.com/repos/neillturner/kitchen-puppet/assignees{/user}","branches_url":"https://api.github.com/repos/neillturner/kitchen-puppet/branches{/branch}","tags_url":"https://api.github.com/repos/neillturner/kitchen-puppet/tags","blobs_url":"https://api.github.com/repos/neillturner/kitchen-puppet/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/neillturner/kitchen-puppet/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/neillturner/kitchen-puppet/git/refs{/sha}","trees_url":"https://api.github.com/repos/neillturner/kitchen-puppet/git/trees{/sha}","statuses_url":"https://api.github.com/repos/neillturner/kitchen-puppet/statuses/{sha}","languages_url":"https://api.github.com/repos/neillturner/kitchen-puppet/languages","stargazers_url":"https://api.github.com/repos/neillturner/kitchen-puppet/stargazers","contributors_url":"https://api.github.com/repos/neillturner/kitchen-puppet/contributors","subscribers_url":"https://api.github.com/repos/neillturner/kitchen-puppet/subscribers","subscription_url":"https://api.github.com/repos/neillturner/kitchen-puppet/subscription","commits_url":"https://api.github.com/repos/neillturner/kitchen-puppet/commits{/sha}","git_commits_url":"https://api.github.com/repos/neillturner/kitchen-puppet/git/commits{/sha}","comments_url":"https://api.github.com/repos/neillturner/kitchen-puppet/comments{/number}","issue_comment_url":"https://api.github.com/repos/neillturner/kitchen-puppet/issues/comments{/number}","contents_url":"https://api.github.com/repos/neillturner/kitchen-puppet/contents/{+path}","compare_url":"https://api.github.com/repos/neillturner/kitchen-puppet/compare/{base}...{head}","merges_url":"https://api.github.com/repos/neillturner/kitchen-puppet/merges","archive_url":"https://api.github.com/repos/neillturner/kitchen-puppet/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/neillturner/kitchen-puppet/downloads","issues_url":"https://api.github.com/repos/neillturner/kitchen-puppet/issues{/number}","pulls_url":"https://api.github.com/repos/neillturner/kitchen-puppet/pulls{/number}","milestones_url":"https://api.github.com/repos/neillturner/kitchen-puppet/milestones{/number}","notifications_url":"https://api.github.com/repos/neillturner/kitchen-puppet/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/neillturner/kitchen-puppet/labels{/name}","releases_url":"https://api.github.com/repos/neillturner/kitchen-puppet/releases{/id}","deployments_url":"https://api.github.com/repos/neillturner/kitchen-puppet/deployments","created_at":"2014-03-21T14:49:45Z","updated_at":"2017-08-11T16:37:35Z","pushed_at":"2017-08-06T19:27:33Z","git_url":"git://github.com/neillturner/kitchen-puppet.git","ssh_url":"git@github.com:neillturner/kitchen-puppet.git","clone_url":"https://github.com/neillturner/kitchen-puppet.git","svn_url":"https://github.com/neillturner/kitchen-puppet","homepage":null,"size":519,"stargazers_count":75,"watchers_count":75,"language":"Ruby","has_issues":true,"has_projects":true,"has_downloads":true,"has_wiki":true,"has_pages":false,"forks_count":70,"mirror_url":null,"open_issues_count":5,"forks":70,"open_issues":5,"watchers":75,"default_branch":"master"}},"_links":{"self":{"href":"https://api.github.com/repos/neillturner/kitchen-puppet/pulls/184"},"html":{"href":"https://github.com/neillturner/kitchen-puppet/pull/184"},"issue":{"href":"https://api.github.com/repos/neillturner/kitchen-puppet/issues/184"},"comments":{"href":"https://api.github.com/repos/neillturner/kitchen-puppet/issues/184/comments"},"review_comments":{"href":"https://api.github.com/repos/neillturner/kitchen-puppet/pulls/184/comments"},"review_comment":{"href":"https://api.github.com/repos/neillturner/kitchen-puppet/pulls/comments{/number}"},"commits":{"href":"https://api.github.com/repos/neillturner/kitchen-puppet/pulls/184/commits"},"statuses":{"href":"https://api.github.com/repos/neillturner/kitchen-puppet/statuses/d0597a35070b1c53925283b537fe48f282570eab"}},"merged":false,"mergeable":null,"rebaseable":null,"mergeable_state":"unknown","merged_by":null,"comments":0,"review_comments":0,"maintainer_can_modify":true,"commits":1,"additions":1,"deletions":1,"changed_files":1}}
{"actor":{"display_login":"cgetzen"}}