{"action":"closed","number":474,"pull_request":{"url":"https://api.github.com/repos/puppetlabs/puppetlabs-training-bootstrap/pulls/474","id":29471494,"html_url":"https://github.com/puppetlabs/puppetlabs-training-bootstrap/pull/474","diff_url":"https://github.com/puppetlabs/puppetlabs-training-bootstrap/pull/474.diff","patch_url":"https://github.com/puppetlabs/puppetlabs-training-bootstrap/pull/474.patch","issue_url":"https://api.github.com/repos/puppetlabs/puppetlabs-training-bootstrap/issues/474","number":474,"state":"closed","locked":false,"title":"This adds a dinky script to describe hiera lookups","user":{"login":"binford2k","id":1392917,"avatar_url":"https://avatars.githubusercontent.com/u/1392917?v=3","gravatar_id":"","url":"https://api.github.com/users/binford2k","html_url":"https://github.com/binford2k","followers_url":"https://api.github.com/users/binford2k/followers","following_url":"https://api.github.com/users/binford2k/following{/other_user}","gists_url":"https://api.github.com/users/binford2k/gists{/gist_id}","starred_url":"https://api.github.com/users/binford2k/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/binford2k/subscriptions","organizations_url":"https://api.github.com/users/binford2k/orgs","repos_url":"https://api.github.com/users/binford2k/repos","events_url":"https://api.github.com/users/binford2k/events{/privacy}","received_events_url":"https://api.github.com/users/binford2k/received_events","type":"User","site_admin":false},"body":"This will use the current node's facts cache and allow the user to\r\noverride on the command line, like this:\r\n\r\n```\r\n$ hiera_explain.rb fqdn=boo\r\nBackend data directories:\r\n  * yaml: /etc/puppetlabs/puppet/hieradata\r\n\r\nExpanded hierarchy:\r\n  * training.puppetlabs.vm\r\n  * boo\r\n  * defaults\r\n\r\nFile lookup order:\r\n  * /etc/puppetlabs/puppet/hieradata/training.puppetlabs.vm.yaml\r\n  * /etc/puppetlabs/puppet/hieradata/boo.yaml\r\n  * /etc/puppetlabs/puppet/hieradata/defaults.yaml\r\n```","created_at":"2015-02-17T19:47:30Z","updated_at":"2015-02-17T21:17:29Z","closed_at":"2015-02-17T21:17:29Z","merged_at":"2015-02-17T21:17:29Z","merge_commit_sha":"affbc1d702ba05517f1a34a6f8e3ba0f2061c7a1","assignee":null,"milestone":null,"commits_url":"https://api.github.com/repos/puppetlabs/puppetlabs-training-bootstrap/pulls/474/commits","review_comments_url":"https://api.github.com/repos/puppetlabs/puppetlabs-training-bootstrap/pulls/474/comments","review_comment_url":"https://api.github.com/repos/puppetlabs/puppetlabs-training-bootstrap/pulls/comments/{number}","comments_url":"https://api.github.com/repos/puppetlabs/puppetlabs-training-bootstrap/issues/474/comments","statuses_url":"https://api.github.com/repos/puppetlabs/puppetlabs-training-bootstrap/statuses/d9e97baeade3de64a85ec0b4f344da7bba8514bc","head":{"label":"binford2k:scripts/hiera_explain","ref":"scripts/hiera_explain","sha":"d9e97baeade3de64a85ec0b4f344da7bba8514bc","user":{"login":"binford2k","id":1392917,"avatar_url":"https://avatars.githubusercontent.com/u/1392917?v=3","gravatar_id":"","url":"https://api.github.com/users/binford2k","html_url":"https://github.com/binford2k","followers_url":"https://api.github.com/users/binford2k/followers","following_url":"https://api.github.com/users/binford2k/following{/other_user}","gists_url":"https://api.github.com/users/binford2k/gists{/gist_id}","starred_url":"https://api.github.com/users/binford2k/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/binford2k/subscriptions","organizations_url":"https://api.github.com/users/binford2k/orgs","repos_url":"https://api.github.com/users/binford2k/repos","events_url":"https://api.github.com/users/binford2k/events{/privacy}","received_events_url":"https://api.github.com/users/binford2k/received_events","type":"User","site_admin":false},"repo":{"id":7450102,"name":"puppetlabs-training-bootstrap","full_name":"binford2k/puppetlabs-training-bootstrap","owner":{"login":"binford2k","id":1392917,"avatar_url":"https://avatars.githubusercontent.com/u/1392917?v=3","gravatar_id":"","url":"https://api.github.com/users/binford2k","html_url":"https://github.com/binford2k","followers_url":"https://api.github.com/users/binford2k/followers","following_url":"https://api.github.com/users/binford2k/following{/other_user}","gists_url":"https://api.github.com/users/binford2k/gists{/gist_id}","starred_url":"https://api.github.com/users/binford2k/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/binford2k/subscriptions","organizations_url":"https://api.github.com/users/binford2k/orgs","repos_url":"https://api.github.com/users/binford2k/repos","events_url":"https://api.github.com/users/binford2k/events{/privacy}","received_events_url":"https://api.github.com/users/binford2k/received_events","type":"User","site_admin":false},"private":false,"html_url":"https://github.com/binford2k/puppetlabs-training-bootstrap","description":"Bootstrap CentOS training VMs from scratch. Now with true versioning!","fork":true,"url":"https://api.github.com/repos/binford2k/puppetlabs-training-bootstrap","forks_url":"https://api.github.com/repos/binford2k/puppetlabs-training-bootstrap/forks","keys_url":"https://api.github.com/repos/binford2k/puppetlabs-training-bootstrap/keys{/key_id}","collaborators_url":"https://api.github.com/repos/binford2k/puppetlabs-training-bootstrap/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/binford2k/puppetlabs-training-bootstrap/teams","hooks_url":"https://api.github.com/repos/binford2k/puppetlabs-training-bootstrap/hooks","issue_events_url":"https://api.github.com/repos/binford2k/puppetlabs-training-bootstrap/issues/events{/number}","events_url":"https://api.github.com/repos/binford2k/puppetlabs-training-bootstrap/events","assignees_url":"https://api.github.com/repos/binford2k/puppetlabs-training-bootstrap/assignees{/user}","branches_url":"https://api.github.com/repos/binford2k/puppetlabs-training-bootstrap/branches{/branch}","tags_url":"https://api.github.com/repos/binford2k/puppetlabs-training-bootstrap/tags","blobs_url":"https://api.github.com/repos/binford2k/puppetlabs-training-bootstrap/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/binford2k/puppetlabs-training-bootstrap/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/binford2k/puppetlabs-training-bootstrap/git/refs{/sha}","trees_url":"https://api.github.com/repos/binford2k/puppetlabs-training-bootstrap/git/trees{/sha}","statuses_url":"https://api.github.com/repos/binford2k/puppetlabs-training-bootstrap/statuses/{sha}","languages_url":"https://api.github.com/repos/binford2k/puppetlabs-training-bootstrap/languages","stargazers_url":"https://api.github.com/repos/binford2k/puppetlabs-training-bootstrap/stargazers","contributors_url":"https://api.github.com/repos/binford2k/puppetlabs-training-bootstrap/contributors","subscribers_url":"https://api.github.com/repos/binford2k/puppetlabs-training-bootstrap/subscribers","subscription_url":"https://api.github.com/repos/binford2k/puppetlabs-training-bootstrap/subscription","commits_url":"https://api.github.com/repos/binford2k/puppetlabs-training-bootstrap/commits{/sha}","git_commits_url":"https://api.github.com/repos/binford2k/puppetlabs-training-bootstrap/git/commits{/sha}","comments_url":"https://api.github.com/repos/binford2k/puppetlabs-training-bootstrap/comments{/number}","issue_comment_url":"https://api.github.com/repos/binford2k/puppetlabs-training-bootstrap/issues/comments/{number}","contents_url":"https://api.github.com/repos/binford2k/puppetlabs-training-bootstrap/contents/{+path}","compare_url":"https://api.github.com/repos/binford2k/puppetlabs-training-bootstrap/compare/{base}...{head}","merges_url":"https://api.github.com/repos/binford2k/puppetlabs-training-bootstrap/merges","archive_url":"https://api.github.com/repos/binford2k/puppetlabs-training-bootstrap/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/binford2k/puppetlabs-training-bootstrap/downloads","issues_url":"https://api.github.com/repos/binford2k/puppetlabs-training-bootstrap/issues{/number}","pulls_url":"https://api.github.com/repos/binford2k/puppetlabs-training-bootstrap/pulls{/number}","milestones_url":"https://api.github.com/repos/binford2k/puppetlabs-training-bootstrap/milestones{/number}","notifications_url":"https://api.github.com/repos/binford2k/puppetlabs-training-bootstrap/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/binford2k/puppetlabs-training-bootstrap/labels{/name}","releases_url":"https://api.github.com/repos/binford2k/puppetlabs-training-bootstrap/releases{/id}","created_at":"2013-01-05T01:31:23Z","updated_at":"2015-02-01T17:29:20Z","pushed_at":"2015-02-17T19:47:10Z","git_url":"git://github.com/binford2k/puppetlabs-training-bootstrap.git","ssh_url":"git@github.com:binford2k/puppetlabs-training-bootstrap.git","clone_url":"https://github.com/binford2k/puppetlabs-training-bootstrap.git","svn_url":"https://github.com/binford2k/puppetlabs-training-bootstrap","homepage":"http://projects.puppetlabs.com/projects/training","size":30540,"stargazers_count":1,"watchers_count":1,"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":1,"default_branch":"master"}},"base":{"label":"puppetlabs:master","ref":"master","sha":"d993b997ed0abb60ff1bae535c9700705f2425d2","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":2126568,"name":"puppetlabs-training-bootstrap","full_name":"puppetlabs/puppetlabs-training-bootstrap","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/puppetlabs-training-bootstrap","description":"Bootstrap CentOS training VMs from scratch. Now with true versioning!","fork":false,"url":"https://api.github.com/repos/puppetlabs/puppetlabs-training-bootstrap","forks_url":"https://api.github.com/repos/puppetlabs/puppetlabs-training-bootstrap/forks","keys_url":"https://api.github.com/repos/puppetlabs/puppetlabs-training-bootstrap/keys{/key_id}","collaborators_url":"https://api.github.com/repos/puppetlabs/puppetlabs-training-bootstrap/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/puppetlabs/puppetlabs-training-bootstrap/teams","hooks_url":"https://api.github.com/repos/puppetlabs/puppetlabs-training-bootstrap/hooks","issue_events_url":"https://api.github.com/repos/puppetlabs/puppetlabs-training-bootstrap/issues/events{/number}","events_url":"https://api.github.com/repos/puppetlabs/puppetlabs-training-bootstrap/events","assignees_url":"https://api.github.com/repos/puppetlabs/puppetlabs-training-bootstrap/assignees{/user}","branches_url":"https://api.github.com/repos/puppetlabs/puppetlabs-training-bootstrap/branches{/branch}","tags_url":"https://api.github.com/repos/puppetlabs/puppetlabs-training-bootstrap/tags","blobs_url":"https://api.github.com/repos/puppetlabs/puppetlabs-training-bootstrap/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/puppetlabs/puppetlabs-training-bootstrap/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/puppetlabs/puppetlabs-training-bootstrap/git/refs{/sha}","trees_url":"https://api.github.com/repos/puppetlabs/puppetlabs-training-bootstrap/git/trees{/sha}","statuses_url":"https://api.github.com/repos/puppetlabs/puppetlabs-training-bootstrap/statuses/{sha}","languages_url":"https://api.github.com/repos/puppetlabs/puppetlabs-training-bootstrap/languages","stargazers_url":"https://api.github.com/repos/puppetlabs/puppetlabs-training-bootstrap/stargazers","contributors_url":"https://api.github.com/repos/puppetlabs/puppetlabs-training-bootstrap/contributors","subscribers_url":"https://api.github.com/repos/puppetlabs/puppetlabs-training-bootstrap/subscribers","subscription_url":"https://api.github.com/repos/puppetlabs/puppetlabs-training-bootstrap/subscription","commits_url":"https://api.github.com/repos/puppetlabs/puppetlabs-training-bootstrap/commits{/sha}","git_commits_url":"https://api.github.com/repos/puppetlabs/puppetlabs-training-bootstrap/git/commits{/sha}","comments_url":"https://api.github.com/repos/puppetlabs/puppetlabs-training-bootstrap/comments{/number}","issue_comment_url":"https://api.github.com/repos/puppetlabs/puppetlabs-training-bootstrap/issues/comments/{number}","contents_url":"https://api.github.com/repos/puppetlabs/puppetlabs-training-bootstrap/contents/{+path}","compare_url":"https://api.github.com/repos/puppetlabs/puppetlabs-training-bootstrap/compare/{base}...{head}","merges_url":"https://api.github.com/repos/puppetlabs/puppetlabs-training-bootstrap/merges","archive_url":"https://api.github.com/repos/puppetlabs/puppetlabs-training-bootstrap/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/puppetlabs/puppetlabs-training-bootstrap/downloads","issues_url":"https://api.github.com/repos/puppetlabs/puppetlabs-training-bootstrap/issues{/number}","pulls_url":"https://api.github.com/repos/puppetlabs/puppetlabs-training-bootstrap/pulls{/number}","milestones_url":"https://api.github.com/repos/puppetlabs/puppetlabs-training-bootstrap/milestones{/number}","notifications_url":"https://api.github.com/repos/puppetlabs/puppetlabs-training-bootstrap/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/puppetlabs/puppetlabs-training-bootstrap/labels{/name}","releases_url":"https://api.github.com/repos/puppetlabs/puppetlabs-training-bootstrap/releases{/id}","created_at":"2011-07-29T22:10:26Z","updated_at":"2015-02-10T18:20:13Z","pushed_at":"2015-02-17T21:17:29Z","git_url":"git://github.com/puppetlabs/puppetlabs-training-bootstrap.git","ssh_url":"git@github.com:puppetlabs/puppetlabs-training-bootstrap.git","clone_url":"https://github.com/puppetlabs/puppetlabs-training-bootstrap.git","svn_url":"https://github.com/puppetlabs/puppetlabs-training-bootstrap","homepage":"http://projects.puppetlabs.com/projects/training","size":31756,"stargazers_count":58,"watchers_count":58,"language":"Ruby","has_issues":true,"has_downloads":true,"has_wiki":true,"has_pages":false,"forks_count":50,"mirror_url":null,"open_issues_count":2,"forks":50,"open_issues":2,"watchers":58,"default_branch":"master"}},"_links":{"self":{"href":"https://api.github.com/repos/puppetlabs/puppetlabs-training-bootstrap/pulls/474"},"html":{"href":"https://github.com/puppetlabs/puppetlabs-training-bootstrap/pull/474"},"issue":{"href":"https://api.github.com/repos/puppetlabs/puppetlabs-training-bootstrap/issues/474"},"comments":{"href":"https://api.github.com/repos/puppetlabs/puppetlabs-training-bootstrap/issues/474/comments"},"review_comments":{"href":"https://api.github.com/repos/puppetlabs/puppetlabs-training-bootstrap/pulls/474/comments"},"review_comment":{"href":"https://api.github.com/repos/puppetlabs/puppetlabs-training-bootstrap/pulls/comments/{number}"},"commits":{"href":"https://api.github.com/repos/puppetlabs/puppetlabs-training-bootstrap/pulls/474/commits"},"statuses":{"href":"https://api.github.com/repos/puppetlabs/puppetlabs-training-bootstrap/statuses/d9e97baeade3de64a85ec0b4f344da7bba8514bc"}},"merged":true,"mergeable":null,"mergeable_state":"unknown","merged_by":{"login":"joshsamuelson","id":8343987,"avatar_url":"https://avatars.githubusercontent.com/u/8343987?v=3","gravatar_id":"","url":"https://api.github.com/users/joshsamuelson","html_url":"https://github.com/joshsamuelson","followers_url":"https://api.github.com/users/joshsamuelson/followers","following_url":"https://api.github.com/users/joshsamuelson/following{/other_user}","gists_url":"https://api.github.com/users/joshsamuelson/gists{/gist_id}","starred_url":"https://api.github.com/users/joshsamuelson/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/joshsamuelson/subscriptions","organizations_url":"https://api.github.com/users/joshsamuelson/orgs","repos_url":"https://api.github.com/users/joshsamuelson/repos","events_url":"https://api.github.com/users/joshsamuelson/events{/privacy}","received_events_url":"https://api.github.com/users/joshsamuelson/received_events","type":"User","site_admin":false},"comments":0,"review_comments":0,"commits":1,"additions":45,"deletions":0,"changed_files":1}}