{"action":"created","comment":{"url":"https://api.github.com/repos/puppetlabs/hiera/pulls/comments/31265031","id":31265031,"diff_hunk":"@@ -2,14 +2,12 @@\n :backends:\n   - yaml\n :hierarchy:\n-  - defaults\n-  - \"%{clientcert}\"\n-  - \"%{environment}\"\n-  - global\n+  - \"nodes/%{clientcert}\"\n+  - common\n \n :yaml:\n # datadir is empty here, so hiera uses its defaults:\n-# - /etc/puppetlabs/code/hieradata on *nix\n+# - /etc/puppetlabs/code/environments/%{environment}/hieradata on *nix","path":"ext/hiera.yaml","position":14,"original_position":14,"commit_id":"a945deb01e3b29976dd2ff5ea3764d28ead183a2","original_commit_id":"a945deb01e3b29976dd2ff5ea3764d28ead183a2","user":{"login":"ferventcoder","id":63502,"avatar_url":"https://avatars.githubusercontent.com/u/63502?v=3","gravatar_id":"","url":"https://api.github.com/users/ferventcoder","html_url":"https://github.com/ferventcoder","followers_url":"https://api.github.com/users/ferventcoder/followers","following_url":"https://api.github.com/users/ferventcoder/following{/other_user}","gists_url":"https://api.github.com/users/ferventcoder/gists{/gist_id}","starred_url":"https://api.github.com/users/ferventcoder/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/ferventcoder/subscriptions","organizations_url":"https://api.github.com/users/ferventcoder/orgs","repos_url":"https://api.github.com/users/ferventcoder/repos","events_url":"https://api.github.com/users/ferventcoder/events{/privacy}","received_events_url":"https://api.github.com/users/ferventcoder/received_events","type":"User","site_admin":false},"body":"This should be changed when the code actually gets changed to make that true. Until then it is still `/etc/puppetlabs/code/hieradata`","created_at":"2015-05-28T18:46:15Z","updated_at":"2015-05-28T18:46:15Z","html_url":"https://github.com/puppetlabs/hiera/pull/268#discussion_r31265031","pull_request_url":"https://api.github.com/repos/puppetlabs/hiera/pulls/268","_links":{"self":{"href":"https://api.github.com/repos/puppetlabs/hiera/pulls/comments/31265031"},"html":{"href":"https://github.com/puppetlabs/hiera/pull/268#discussion_r31265031"},"pull_request":{"href":"https://api.github.com/repos/puppetlabs/hiera/pulls/268"}}},"pull_request":{"url":"https://api.github.com/repos/puppetlabs/hiera/pulls/268","id":35447864,"html_url":"https://github.com/puppetlabs/hiera/pull/268","diff_url":"https://github.com/puppetlabs/hiera/pull/268.diff","patch_url":"https://github.com/puppetlabs/hiera/pull/268.patch","issue_url":"https://api.github.com/repos/puppetlabs/hiera/issues/268","number":268,"state":"open","locked":false,"title":"(HI-374) configure hiera to work out of the box","user":{"login":"mwbutcher","id":952354,"avatar_url":"https://avatars.githubusercontent.com/u/952354?v=3","gravatar_id":"","url":"https://api.github.com/users/mwbutcher","html_url":"https://github.com/mwbutcher","followers_url":"https://api.github.com/users/mwbutcher/followers","following_url":"https://api.github.com/users/mwbutcher/following{/other_user}","gists_url":"https://api.github.com/users/mwbutcher/gists{/gist_id}","starred_url":"https://api.github.com/users/mwbutcher/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/mwbutcher/subscriptions","organizations_url":"https://api.github.com/users/mwbutcher/orgs","repos_url":"https://api.github.com/users/mwbutcher/repos","events_url":"https://api.github.com/users/mwbutcher/events{/privacy}","received_events_url":"https://api.github.com/users/mwbutcher/received_events","type":"User","site_admin":false},"body":"Prior to this commit, users had to configure hiera.yaml\r\nbefore being able to use hiera. This commit defines a datadir\r\nand a basic hierarchy to make it easier for users to get up\r\nand running.\r\n\r\nplease see PE-894","created_at":"2015-05-14T18:29:38Z","updated_at":"2015-05-28T18:46:15Z","closed_at":null,"merged_at":null,"merge_commit_sha":"de8c64e67c7c5807e30c56d11ce40df4a11b0aee","assignee":null,"milestone":null,"commits_url":"https://api.github.com/repos/puppetlabs/hiera/pulls/268/commits","review_comments_url":"https://api.github.com/repos/puppetlabs/hiera/pulls/268/comments","review_comment_url":"https://api.github.com/repos/puppetlabs/hiera/pulls/comments{/number}","comments_url":"https://api.github.com/repos/puppetlabs/hiera/issues/268/comments","statuses_url":"https://api.github.com/repos/puppetlabs/hiera/statuses/a945deb01e3b29976dd2ff5ea3764d28ead183a2","head":{"label":"mwbutcher:mwbutcher/master/hi-374/configure_hiera_to_work_out_of_the_box","ref":"mwbutcher/master/hi-374/configure_hiera_to_work_out_of_the_box","sha":"a945deb01e3b29976dd2ff5ea3764d28ead183a2","user":{"login":"mwbutcher","id":952354,"avatar_url":"https://avatars.githubusercontent.com/u/952354?v=3","gravatar_id":"","url":"https://api.github.com/users/mwbutcher","html_url":"https://github.com/mwbutcher","followers_url":"https://api.github.com/users/mwbutcher/followers","following_url":"https://api.github.com/users/mwbutcher/following{/other_user}","gists_url":"https://api.github.com/users/mwbutcher/gists{/gist_id}","starred_url":"https://api.github.com/users/mwbutcher/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/mwbutcher/subscriptions","organizations_url":"https://api.github.com/users/mwbutcher/orgs","repos_url":"https://api.github.com/users/mwbutcher/repos","events_url":"https://api.github.com/users/mwbutcher/events{/privacy}","received_events_url":"https://api.github.com/users/mwbutcher/received_events","type":"User","site_admin":false},"repo":{"id":35580207,"name":"hiera","full_name":"mwbutcher/hiera","owner":{"login":"mwbutcher","id":952354,"avatar_url":"https://avatars.githubusercontent.com/u/952354?v=3","gravatar_id":"","url":"https://api.github.com/users/mwbutcher","html_url":"https://github.com/mwbutcher","followers_url":"https://api.github.com/users/mwbutcher/followers","following_url":"https://api.github.com/users/mwbutcher/following{/other_user}","gists_url":"https://api.github.com/users/mwbutcher/gists{/gist_id}","starred_url":"https://api.github.com/users/mwbutcher/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/mwbutcher/subscriptions","organizations_url":"https://api.github.com/users/mwbutcher/orgs","repos_url":"https://api.github.com/users/mwbutcher/repos","events_url":"https://api.github.com/users/mwbutcher/events{/privacy}","received_events_url":"https://api.github.com/users/mwbutcher/received_events","type":"User","site_admin":false},"private":false,"html_url":"https://github.com/mwbutcher/hiera","description":"Lightweight Pluggable Hierarchical Database","fork":true,"url":"https://api.github.com/repos/mwbutcher/hiera","forks_url":"https://api.github.com/repos/mwbutcher/hiera/forks","keys_url":"https://api.github.com/repos/mwbutcher/hiera/keys{/key_id}","collaborators_url":"https://api.github.com/repos/mwbutcher/hiera/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/mwbutcher/hiera/teams","hooks_url":"https://api.github.com/repos/mwbutcher/hiera/hooks","issue_events_url":"https://api.github.com/repos/mwbutcher/hiera/issues/events{/number}","events_url":"https://api.github.com/repos/mwbutcher/hiera/events","assignees_url":"https://api.github.com/repos/mwbutcher/hiera/assignees{/user}","branches_url":"https://api.github.com/repos/mwbutcher/hiera/branches{/branch}","tags_url":"https://api.github.com/repos/mwbutcher/hiera/tags","blobs_url":"https://api.github.com/repos/mwbutcher/hiera/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/mwbutcher/hiera/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/mwbutcher/hiera/git/refs{/sha}","trees_url":"https://api.github.com/repos/mwbutcher/hiera/git/trees{/sha}","statuses_url":"https://api.github.com/repos/mwbutcher/hiera/statuses/{sha}","languages_url":"https://api.github.com/repos/mwbutcher/hiera/languages","stargazers_url":"https://api.github.com/repos/mwbutcher/hiera/stargazers","contributors_url":"https://api.github.com/repos/mwbutcher/hiera/contributors","subscribers_url":"https://api.github.com/repos/mwbutcher/hiera/subscribers","subscription_url":"https://api.github.com/repos/mwbutcher/hiera/subscription","commits_url":"https://api.github.com/repos/mwbutcher/hiera/commits{/sha}","git_commits_url":"https://api.github.com/repos/mwbutcher/hiera/git/commits{/sha}","comments_url":"https://api.github.com/repos/mwbutcher/hiera/comments{/number}","issue_comment_url":"https://api.github.com/repos/mwbutcher/hiera/issues/comments{/number}","contents_url":"https://api.github.com/repos/mwbutcher/hiera/contents/{+path}","compare_url":"https://api.github.com/repos/mwbutcher/hiera/compare/{base}...{head}","merges_url":"https://api.github.com/repos/mwbutcher/hiera/merges","archive_url":"https://api.github.com/repos/mwbutcher/hiera/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/mwbutcher/hiera/downloads","issues_url":"https://api.github.com/repos/mwbutcher/hiera/issues{/number}","pulls_url":"https://api.github.com/repos/mwbutcher/hiera/pulls{/number}","milestones_url":"https://api.github.com/repos/mwbutcher/hiera/milestones{/number}","notifications_url":"https://api.github.com/repos/mwbutcher/hiera/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/mwbutcher/hiera/labels{/name}","releases_url":"https://api.github.com/repos/mwbutcher/hiera/releases{/id}","created_at":"2015-05-13T23:50:20Z","updated_at":"2015-05-13T23:50:20Z","pushed_at":"2015-05-28T17:17:21Z","git_url":"git://github.com/mwbutcher/hiera.git","ssh_url":"git@github.com:mwbutcher/hiera.git","clone_url":"https://github.com/mwbutcher/hiera.git","svn_url":"https://github.com/mwbutcher/hiera","homepage":"http://projects.puppetlabs.com/projects/hiera/","size":751,"stargazers_count":0,"watchers_count":0,"language":"Ruby","has_issues":false,"has_downloads":true,"has_wiki":false,"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":"puppetlabs:master","ref":"master","sha":"56244cd8e639fea81b010e40b4f4b31eb51c28d6","user":{"login":"puppetlabs","id":234268,"avatar_url":"https://avatars.githubusercontent.com/u/234268?v=3","gravatar_id":"","url":"https://api.github.com/users/puppetlabs","html_url":"https://github.com/puppetlabs","followers_url":"https://api.github.com/users/puppetlabs/followers","following_url":"https://api.github.com/users/puppetlabs/following{/other_user}","gists_url":"https://api.github.com/users/puppetlabs/gists{/gist_id}","starred_url":"https://api.github.com/users/puppetlabs/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/puppetlabs/subscriptions","organizations_url":"https://api.github.com/users/puppetlabs/orgs","repos_url":"https://api.github.com/users/puppetlabs/repos","events_url":"https://api.github.com/users/puppetlabs/events{/privacy}","received_events_url":"https://api.github.com/users/puppetlabs/received_events","type":"Organization","site_admin":false},"repo":{"id":1845241,"name":"hiera","full_name":"puppetlabs/hiera","owner":{"login":"puppetlabs","id":234268,"avatar_url":"https://avatars.githubusercontent.com/u/234268?v=3","gravatar_id":"","url":"https://api.github.com/users/puppetlabs","html_url":"https://github.com/puppetlabs","followers_url":"https://api.github.com/users/puppetlabs/followers","following_url":"https://api.github.com/users/puppetlabs/following{/other_user}","gists_url":"https://api.github.com/users/puppetlabs/gists{/gist_id}","starred_url":"https://api.github.com/users/puppetlabs/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/puppetlabs/subscriptions","organizations_url":"https://api.github.com/users/puppetlabs/orgs","repos_url":"https://api.github.com/users/puppetlabs/repos","events_url":"https://api.github.com/users/puppetlabs/events{/privacy}","received_events_url":"https://api.github.com/users/puppetlabs/received_events","type":"Organization","site_admin":false},"private":false,"html_url":"https://github.com/puppetlabs/hiera","description":"Lightweight Pluggable Hierarchical Database","fork":false,"url":"https://api.github.com/repos/puppetlabs/hiera","forks_url":"https://api.github.com/repos/puppetlabs/hiera/forks","keys_url":"https://api.github.com/repos/puppetlabs/hiera/keys{/key_id}","collaborators_url":"https://api.github.com/repos/puppetlabs/hiera/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/puppetlabs/hiera/teams","hooks_url":"https://api.github.com/repos/puppetlabs/hiera/hooks","issue_events_url":"https://api.github.com/repos/puppetlabs/hiera/issues/events{/number}","events_url":"https://api.github.com/repos/puppetlabs/hiera/events","assignees_url":"https://api.github.com/repos/puppetlabs/hiera/assignees{/user}","branches_url":"https://api.github.com/repos/puppetlabs/hiera/branches{/branch}","tags_url":"https://api.github.com/repos/puppetlabs/hiera/tags","blobs_url":"https://api.github.com/repos/puppetlabs/hiera/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/puppetlabs/hiera/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/puppetlabs/hiera/git/refs{/sha}","trees_url":"https://api.github.com/repos/puppetlabs/hiera/git/trees{/sha}","statuses_url":"https://api.github.com/repos/puppetlabs/hiera/statuses/{sha}","languages_url":"https://api.github.com/repos/puppetlabs/hiera/languages","stargazers_url":"https://api.github.com/repos/puppetlabs/hiera/stargazers","contributors_url":"https://api.github.com/repos/puppetlabs/hiera/contributors","subscribers_url":"https://api.github.com/repos/puppetlabs/hiera/subscribers","subscription_url":"https://api.github.com/repos/puppetlabs/hiera/subscription","commits_url":"https://api.github.com/repos/puppetlabs/hiera/commits{/sha}","git_commits_url":"https://api.github.com/repos/puppetlabs/hiera/git/commits{/sha}","comments_url":"https://api.github.com/repos/puppetlabs/hiera/comments{/number}","issue_comment_url":"https://api.github.com/repos/puppetlabs/hiera/issues/comments{/number}","contents_url":"https://api.github.com/repos/puppetlabs/hiera/contents/{+path}","compare_url":"https://api.github.com/repos/puppetlabs/hiera/compare/{base}...{head}","merges_url":"https://api.github.com/repos/puppetlabs/hiera/merges","archive_url":"https://api.github.com/repos/puppetlabs/hiera/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/puppetlabs/hiera/downloads","issues_url":"https://api.github.com/repos/puppetlabs/hiera/issues{/number}","pulls_url":"https://api.github.com/repos/puppetlabs/hiera/pulls{/number}","milestones_url":"https://api.github.com/repos/puppetlabs/hiera/milestones{/number}","notifications_url":"https://api.github.com/repos/puppetlabs/hiera/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/puppetlabs/hiera/labels{/name}","releases_url":"https://api.github.com/repos/puppetlabs/hiera/releases{/id}","created_at":"2011-06-04T00:48:22Z","updated_at":"2015-05-08T09:25:41Z","pushed_at":"2015-05-28T17:17:22Z","git_url":"git://github.com/puppetlabs/hiera.git","ssh_url":"git@github.com:puppetlabs/hiera.git","clone_url":"https://github.com/puppetlabs/hiera.git","svn_url":"https://github.com/puppetlabs/hiera","homepage":"http://projects.puppetlabs.com/projects/hiera/","size":2519,"stargazers_count":239,"watchers_count":239,"language":"Ruby","has_issues":false,"has_downloads":true,"has_wiki":false,"has_pages":false,"forks_count":159,"mirror_url":null,"open_issues_count":3,"forks":159,"open_issues":3,"watchers":239,"default_branch":"master"}},"_links":{"self":{"href":"https://api.github.com/repos/puppetlabs/hiera/pulls/268"},"html":{"href":"https://github.com/puppetlabs/hiera/pull/268"},"issue":{"href":"https://api.github.com/repos/puppetlabs/hiera/issues/268"},"comments":{"href":"https://api.github.com/repos/puppetlabs/hiera/issues/268/comments"},"review_comments":{"href":"https://api.github.com/repos/puppetlabs/hiera/pulls/268/comments"},"review_comment":{"href":"https://api.github.com/repos/puppetlabs/hiera/pulls/comments{/number}"},"commits":{"href":"https://api.github.com/repos/puppetlabs/hiera/pulls/268/commits"},"statuses":{"href":"https://api.github.com/repos/puppetlabs/hiera/statuses/a945deb01e3b29976dd2ff5ea3764d28ead183a2"}}}}