{"action":"created","comment":{"url":"https://api.github.com/repos/puppetlabs/puppet/pulls/comments/33970174","id":33970174,"diff_hunk":"@@ -22,10 +22,16 @@\n \n     # Now print the data about the item.\n     val = object.default\n-    if name.to_s == \"vardir\"\n-      val = \"/opt/puppetlabs/puppet/cache\"\n-    elsif name.to_s == \"confdir\"\n-      val = \"/etc/puppetlabs/puppet\"\n+    if name.to_s == 'vardir'\n+      val = 'Unix/Linux: /opt/puppetlabs/puppet/cache -- Windows: C:\\ProgramData\\PuppetLabs\\puppet\\cache -- Non-root user: ~/.puppetlabs/opt/puppet/cache'","path":"lib/puppet/reference/configuration.rb","position":9,"original_position":9,"commit_id":"94aacac132222a6b48037a0c7036d02528984228","original_commit_id":"94aacac132222a6b48037a0c7036d02528984228","user":{"login":"nfagerlund","id":484309,"avatar_url":"https://avatars.githubusercontent.com/u/484309?v=3","gravatar_id":"","url":"https://api.github.com/users/nfagerlund","html_url":"https://github.com/nfagerlund","followers_url":"https://api.github.com/users/nfagerlund/followers","following_url":"https://api.github.com/users/nfagerlund/following{/other_user}","gists_url":"https://api.github.com/users/nfagerlund/gists{/gist_id}","starred_url":"https://api.github.com/users/nfagerlund/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/nfagerlund/subscriptions","organizations_url":"https://api.github.com/users/nfagerlund/orgs","repos_url":"https://api.github.com/users/nfagerlund/repos","events_url":"https://api.github.com/users/nfagerlund/events{/privacy}","received_events_url":"https://api.github.com/users/nfagerlund/received_events","type":"User","site_admin":false},"body":"Since it's formally deprecated now, I'm inclined to leave it behind. We have it in the main docs about these directories; that's good enough. ","created_at":"2015-07-06T19:02:52Z","updated_at":"2015-07-06T19:02:52Z","html_url":"https://github.com/puppetlabs/puppet/pull/3938#discussion_r33970174","pull_request_url":"https://api.github.com/repos/puppetlabs/puppet/pulls/3938","_links":{"self":{"href":"https://api.github.com/repos/puppetlabs/puppet/pulls/comments/33970174"},"html":{"href":"https://github.com/puppetlabs/puppet/pull/3938#discussion_r33970174"},"pull_request":{"href":"https://api.github.com/repos/puppetlabs/puppet/pulls/3938"}}},"pull_request":{"url":"https://api.github.com/repos/puppetlabs/puppet/pulls/3938","id":35539158,"html_url":"https://github.com/puppetlabs/puppet/pull/3938","diff_url":"https://github.com/puppetlabs/puppet/pull/3938.diff","patch_url":"https://github.com/puppetlabs/puppet/pull/3938.patch","issue_url":"https://api.github.com/repos/puppetlabs/puppet/issues/3938","number":3938,"state":"open","locked":false,"title":"(docs) Show more useful defaults for special directories in configuration reference","user":{"login":"nfagerlund","id":484309,"avatar_url":"https://avatars.githubusercontent.com/u/484309?v=3","gravatar_id":"","url":"https://api.github.com/users/nfagerlund","html_url":"https://github.com/nfagerlund","followers_url":"https://api.github.com/users/nfagerlund/followers","following_url":"https://api.github.com/users/nfagerlund/following{/other_user}","gists_url":"https://api.github.com/users/nfagerlund/gists{/gist_id}","starred_url":"https://api.github.com/users/nfagerlund/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/nfagerlund/subscriptions","organizations_url":"https://api.github.com/users/nfagerlund/orgs","repos_url":"https://api.github.com/users/nfagerlund/repos","events_url":"https://api.github.com/users/nfagerlund/events{/privacy}","received_events_url":"https://api.github.com/users/nfagerlund/received_events","type":"User","site_admin":false},"body":"The configuration reference was showing blank defaults for codedir, rundir, and\r\nlogdir, and it was showing root Unix paths only for confdir and vardir. Since\r\nwe're overriding these with simple strings when we generate the config reference\r\nanyway, we can just make those strings more useful.","created_at":"2015-05-15T18:38:08Z","updated_at":"2015-07-06T19:02:52Z","closed_at":null,"merged_at":null,"merge_commit_sha":"6ef38ccbee789b88b8d0ac13e0c727aa298167c0","assignee":null,"milestone":null,"commits_url":"https://api.github.com/repos/puppetlabs/puppet/pulls/3938/commits","review_comments_url":"https://api.github.com/repos/puppetlabs/puppet/pulls/3938/comments","review_comment_url":"https://api.github.com/repos/puppetlabs/puppet/pulls/comments{/number}","comments_url":"https://api.github.com/repos/puppetlabs/puppet/issues/3938/comments","statuses_url":"https://api.github.com/repos/puppetlabs/puppet/statuses/94aacac132222a6b48037a0c7036d02528984228","head":{"label":"nfagerlund:may2015_useful_defaults_config_reference","ref":"may2015_useful_defaults_config_reference","sha":"94aacac132222a6b48037a0c7036d02528984228","user":{"login":"nfagerlund","id":484309,"avatar_url":"https://avatars.githubusercontent.com/u/484309?v=3","gravatar_id":"","url":"https://api.github.com/users/nfagerlund","html_url":"https://github.com/nfagerlund","followers_url":"https://api.github.com/users/nfagerlund/followers","following_url":"https://api.github.com/users/nfagerlund/following{/other_user}","gists_url":"https://api.github.com/users/nfagerlund/gists{/gist_id}","starred_url":"https://api.github.com/users/nfagerlund/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/nfagerlund/subscriptions","organizations_url":"https://api.github.com/users/nfagerlund/orgs","repos_url":"https://api.github.com/users/nfagerlund/repos","events_url":"https://api.github.com/users/nfagerlund/events{/privacy}","received_events_url":"https://api.github.com/users/nfagerlund/received_events","type":"User","site_admin":false},"repo":{"id":1247122,"name":"puppet","full_name":"nfagerlund/puppet","owner":{"login":"nfagerlund","id":484309,"avatar_url":"https://avatars.githubusercontent.com/u/484309?v=3","gravatar_id":"","url":"https://api.github.com/users/nfagerlund","html_url":"https://github.com/nfagerlund","followers_url":"https://api.github.com/users/nfagerlund/followers","following_url":"https://api.github.com/users/nfagerlund/following{/other_user}","gists_url":"https://api.github.com/users/nfagerlund/gists{/gist_id}","starred_url":"https://api.github.com/users/nfagerlund/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/nfagerlund/subscriptions","organizations_url":"https://api.github.com/users/nfagerlund/orgs","repos_url":"https://api.github.com/users/nfagerlund/repos","events_url":"https://api.github.com/users/nfagerlund/events{/privacy}","received_events_url":"https://api.github.com/users/nfagerlund/received_events","type":"User","site_admin":false},"private":false,"html_url":"https://github.com/nfagerlund/puppet","description":"Server automation framework and application","fork":true,"url":"https://api.github.com/repos/nfagerlund/puppet","forks_url":"https://api.github.com/repos/nfagerlund/puppet/forks","keys_url":"https://api.github.com/repos/nfagerlund/puppet/keys{/key_id}","collaborators_url":"https://api.github.com/repos/nfagerlund/puppet/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/nfagerlund/puppet/teams","hooks_url":"https://api.github.com/repos/nfagerlund/puppet/hooks","issue_events_url":"https://api.github.com/repos/nfagerlund/puppet/issues/events{/number}","events_url":"https://api.github.com/repos/nfagerlund/puppet/events","assignees_url":"https://api.github.com/repos/nfagerlund/puppet/assignees{/user}","branches_url":"https://api.github.com/repos/nfagerlund/puppet/branches{/branch}","tags_url":"https://api.github.com/repos/nfagerlund/puppet/tags","blobs_url":"https://api.github.com/repos/nfagerlund/puppet/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/nfagerlund/puppet/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/nfagerlund/puppet/git/refs{/sha}","trees_url":"https://api.github.com/repos/nfagerlund/puppet/git/trees{/sha}","statuses_url":"https://api.github.com/repos/nfagerlund/puppet/statuses/{sha}","languages_url":"https://api.github.com/repos/nfagerlund/puppet/languages","stargazers_url":"https://api.github.com/repos/nfagerlund/puppet/stargazers","contributors_url":"https://api.github.com/repos/nfagerlund/puppet/contributors","subscribers_url":"https://api.github.com/repos/nfagerlund/puppet/subscribers","subscription_url":"https://api.github.com/repos/nfagerlund/puppet/subscription","commits_url":"https://api.github.com/repos/nfagerlund/puppet/commits{/sha}","git_commits_url":"https://api.github.com/repos/nfagerlund/puppet/git/commits{/sha}","comments_url":"https://api.github.com/repos/nfagerlund/puppet/comments{/number}","issue_comment_url":"https://api.github.com/repos/nfagerlund/puppet/issues/comments{/number}","contents_url":"https://api.github.com/repos/nfagerlund/puppet/contents/{+path}","compare_url":"https://api.github.com/repos/nfagerlund/puppet/compare/{base}...{head}","merges_url":"https://api.github.com/repos/nfagerlund/puppet/merges","archive_url":"https://api.github.com/repos/nfagerlund/puppet/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/nfagerlund/puppet/downloads","issues_url":"https://api.github.com/repos/nfagerlund/puppet/issues{/number}","pulls_url":"https://api.github.com/repos/nfagerlund/puppet/pulls{/number}","milestones_url":"https://api.github.com/repos/nfagerlund/puppet/milestones{/number}","notifications_url":"https://api.github.com/repos/nfagerlund/puppet/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/nfagerlund/puppet/labels{/name}","releases_url":"https://api.github.com/repos/nfagerlund/puppet/releases{/id}","created_at":"2011-01-12T18:43:23Z","updated_at":"2014-06-23T17:53:40Z","pushed_at":"2015-06-15T22:54:01Z","git_url":"git://github.com/nfagerlund/puppet.git","ssh_url":"git@github.com:nfagerlund/puppet.git","clone_url":"https://github.com/nfagerlund/puppet.git","svn_url":"https://github.com/nfagerlund/puppet","homepage":"http://www.puppetlabs.com/puppet/introduction/","size":48454,"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:stable","ref":"stable","sha":"64b1cdc78288592dd7e8d989e4684157dd10777a","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":910744,"name":"puppet","full_name":"puppetlabs/puppet","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/puppet","description":"Server automation framework and application","fork":false,"url":"https://api.github.com/repos/puppetlabs/puppet","forks_url":"https://api.github.com/repos/puppetlabs/puppet/forks","keys_url":"https://api.github.com/repos/puppetlabs/puppet/keys{/key_id}","collaborators_url":"https://api.github.com/repos/puppetlabs/puppet/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/puppetlabs/puppet/teams","hooks_url":"https://api.github.com/repos/puppetlabs/puppet/hooks","issue_events_url":"https://api.github.com/repos/puppetlabs/puppet/issues/events{/number}","events_url":"https://api.github.com/repos/puppetlabs/puppet/events","assignees_url":"https://api.github.com/repos/puppetlabs/puppet/assignees{/user}","branches_url":"https://api.github.com/repos/puppetlabs/puppet/branches{/branch}","tags_url":"https://api.github.com/repos/puppetlabs/puppet/tags","blobs_url":"https://api.github.com/repos/puppetlabs/puppet/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/puppetlabs/puppet/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/puppetlabs/puppet/git/refs{/sha}","trees_url":"https://api.github.com/repos/puppetlabs/puppet/git/trees{/sha}","statuses_url":"https://api.github.com/repos/puppetlabs/puppet/statuses/{sha}","languages_url":"https://api.github.com/repos/puppetlabs/puppet/languages","stargazers_url":"https://api.github.com/repos/puppetlabs/puppet/stargazers","contributors_url":"https://api.github.com/repos/puppetlabs/puppet/contributors","subscribers_url":"https://api.github.com/repos/puppetlabs/puppet/subscribers","subscription_url":"https://api.github.com/repos/puppetlabs/puppet/subscription","commits_url":"https://api.github.com/repos/puppetlabs/puppet/commits{/sha}","git_commits_url":"https://api.github.com/repos/puppetlabs/puppet/git/commits{/sha}","comments_url":"https://api.github.com/repos/puppetlabs/puppet/comments{/number}","issue_comment_url":"https://api.github.com/repos/puppetlabs/puppet/issues/comments{/number}","contents_url":"https://api.github.com/repos/puppetlabs/puppet/contents/{+path}","compare_url":"https://api.github.com/repos/puppetlabs/puppet/compare/{base}...{head}","merges_url":"https://api.github.com/repos/puppetlabs/puppet/merges","archive_url":"https://api.github.com/repos/puppetlabs/puppet/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/puppetlabs/puppet/downloads","issues_url":"https://api.github.com/repos/puppetlabs/puppet/issues{/number}","pulls_url":"https://api.github.com/repos/puppetlabs/puppet/pulls{/number}","milestones_url":"https://api.github.com/repos/puppetlabs/puppet/milestones{/number}","notifications_url":"https://api.github.com/repos/puppetlabs/puppet/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/puppetlabs/puppet/labels{/name}","releases_url":"https://api.github.com/repos/puppetlabs/puppet/releases{/id}","created_at":"2010-09-14T19:26:44Z","updated_at":"2015-07-06T13:04:35Z","pushed_at":"2015-07-06T16:16:36Z","git_url":"git://github.com/puppetlabs/puppet.git","ssh_url":"git@github.com:puppetlabs/puppet.git","clone_url":"https://github.com/puppetlabs/puppet.git","svn_url":"https://github.com/puppetlabs/puppet","homepage":"http://www.puppetlabs.com/puppet/introduction/","size":117227,"stargazers_count":3423,"watchers_count":3423,"language":"Ruby","has_issues":false,"has_downloads":true,"has_wiki":false,"has_pages":false,"forks_count":1444,"mirror_url":null,"open_issues_count":32,"forks":1444,"open_issues":32,"watchers":3423,"default_branch":"master"}},"_links":{"self":{"href":"https://api.github.com/repos/puppetlabs/puppet/pulls/3938"},"html":{"href":"https://github.com/puppetlabs/puppet/pull/3938"},"issue":{"href":"https://api.github.com/repos/puppetlabs/puppet/issues/3938"},"comments":{"href":"https://api.github.com/repos/puppetlabs/puppet/issues/3938/comments"},"review_comments":{"href":"https://api.github.com/repos/puppetlabs/puppet/pulls/3938/comments"},"review_comment":{"href":"https://api.github.com/repos/puppetlabs/puppet/pulls/comments{/number}"},"commits":{"href":"https://api.github.com/repos/puppetlabs/puppet/pulls/3938/commits"},"statuses":{"href":"https://api.github.com/repos/puppetlabs/puppet/statuses/94aacac132222a6b48037a0c7036d02528984228"}}}}