{"action":"created","comment":{"url":"https://api.github.com/repos/puppetlabs/puppet/pulls/comments/86897362","pull_request_review_id":7532416,"id":86897362,"diff_hunk":"@@ -294,6 +308,12 @@ def prepare_installation\n     bindir = RbConfig::CONFIG['bindir']\n   end\n \n+  if not InstallOptions.localedir.nil?\n+    localedir = InstallOptions.localedir\n+  else\n+    localedir = \"/opt/puppetlabs/puppet/share/puppet/locale\"","path":"install.rb","position":35,"original_position":35,"commit_id":"a28fb8d451111e60f91a04c5589e92cb63d08b2f","original_commit_id":"a28fb8d451111e60f91a04c5589e92cb63d08b2f","user":{"login":"Magisus","id":839145,"avatar_url":"https://avatars.githubusercontent.com/u/839145?v=3","gravatar_id":"","url":"https://api.github.com/users/Magisus","html_url":"https://github.com/Magisus","followers_url":"https://api.github.com/users/Magisus/followers","following_url":"https://api.github.com/users/Magisus/following{/other_user}","gists_url":"https://api.github.com/users/Magisus/gists{/gist_id}","starred_url":"https://api.github.com/users/Magisus/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/Magisus/subscriptions","organizations_url":"https://api.github.com/users/Magisus/orgs","repos_url":"https://api.github.com/users/Magisus/repos","events_url":"https://api.github.com/users/Magisus/events{/privacy}","received_events_url":"https://api.github.com/users/Magisus/received_events","type":"User","site_admin":false},"body":"So there are plenty of examples for how we get the `ProgramData` folder (Dir::COMMON_APPDATA). Is there a similar way to get `Program Files`?","created_at":"2016-11-07T23:57:21Z","updated_at":"2016-11-07T23:57:21Z","html_url":"https://github.com/puppetlabs/puppet/pull/5329#discussion_r86897362","pull_request_url":"https://api.github.com/repos/puppetlabs/puppet/pulls/5329","_links":{"self":{"href":"https://api.github.com/repos/puppetlabs/puppet/pulls/comments/86897362"},"html":{"href":"https://github.com/puppetlabs/puppet/pull/5329#discussion_r86897362"},"pull_request":{"href":"https://api.github.com/repos/puppetlabs/puppet/pulls/5329"}}},"pull_request":{"url":"https://api.github.com/repos/puppetlabs/puppet/pulls/5329","id":89257653,"html_url":"https://github.com/puppetlabs/puppet/pull/5329","diff_url":"https://github.com/puppetlabs/puppet/pull/5329.diff","patch_url":"https://github.com/puppetlabs/puppet/pull/5329.patch","issue_url":"https://api.github.com/repos/puppetlabs/puppet/issues/5329","number":5329,"state":"open","locked":false,"title":"(PUP-6474) Add gettext-setup gem and externalize some early strings","user":{"login":"branan","id":37594,"avatar_url":"https://avatars.githubusercontent.com/u/37594?v=3","gravatar_id":"","url":"https://api.github.com/users/branan","html_url":"https://github.com/branan","followers_url":"https://api.github.com/users/branan/followers","following_url":"https://api.github.com/users/branan/following{/other_user}","gists_url":"https://api.github.com/users/branan/gists{/gist_id}","starred_url":"https://api.github.com/users/branan/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/branan/subscriptions","organizations_url":"https://api.github.com/users/branan/orgs","repos_url":"https://api.github.com/users/branan/repos","events_url":"https://api.github.com/users/branan/events{/privacy}","received_events_url":"https://api.github.com/users/branan/received_events","type":"User","site_admin":false},"body":"","created_at":"2016-10-13T18:36:00Z","updated_at":"2016-11-07T23:57:21Z","closed_at":null,"merged_at":null,"merge_commit_sha":"4ba53807aee5e1f169cc5942d407cf6438c546a3","assignee":null,"assignees":[],"milestone":null,"commits_url":"https://api.github.com/repos/puppetlabs/puppet/pulls/5329/commits","review_comments_url":"https://api.github.com/repos/puppetlabs/puppet/pulls/5329/comments","review_comment_url":"https://api.github.com/repos/puppetlabs/puppet/pulls/comments{/number}","comments_url":"https://api.github.com/repos/puppetlabs/puppet/issues/5329/comments","statuses_url":"https://api.github.com/repos/puppetlabs/puppet/statuses/a28fb8d451111e60f91a04c5589e92cb63d08b2f","head":{"label":"branan:pup-6474/master/readd_gettext_setup","ref":"pup-6474/master/readd_gettext_setup","sha":"a28fb8d451111e60f91a04c5589e92cb63d08b2f","user":{"login":"branan","id":37594,"avatar_url":"https://avatars.githubusercontent.com/u/37594?v=3","gravatar_id":"","url":"https://api.github.com/users/branan","html_url":"https://github.com/branan","followers_url":"https://api.github.com/users/branan/followers","following_url":"https://api.github.com/users/branan/following{/other_user}","gists_url":"https://api.github.com/users/branan/gists{/gist_id}","starred_url":"https://api.github.com/users/branan/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/branan/subscriptions","organizations_url":"https://api.github.com/users/branan/orgs","repos_url":"https://api.github.com/users/branan/repos","events_url":"https://api.github.com/users/branan/events{/privacy}","received_events_url":"https://api.github.com/users/branan/received_events","type":"User","site_admin":false},"repo":{"id":5719668,"name":"puppet","full_name":"branan/puppet","owner":{"login":"branan","id":37594,"avatar_url":"https://avatars.githubusercontent.com/u/37594?v=3","gravatar_id":"","url":"https://api.github.com/users/branan","html_url":"https://github.com/branan","followers_url":"https://api.github.com/users/branan/followers","following_url":"https://api.github.com/users/branan/following{/other_user}","gists_url":"https://api.github.com/users/branan/gists{/gist_id}","starred_url":"https://api.github.com/users/branan/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/branan/subscriptions","organizations_url":"https://api.github.com/users/branan/orgs","repos_url":"https://api.github.com/users/branan/repos","events_url":"https://api.github.com/users/branan/events{/privacy}","received_events_url":"https://api.github.com/users/branan/received_events","type":"User","site_admin":false},"private":false,"html_url":"https://github.com/branan/puppet","description":"Server automation framework and application","fork":true,"url":"https://api.github.com/repos/branan/puppet","forks_url":"https://api.github.com/repos/branan/puppet/forks","keys_url":"https://api.github.com/repos/branan/puppet/keys{/key_id}","collaborators_url":"https://api.github.com/repos/branan/puppet/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/branan/puppet/teams","hooks_url":"https://api.github.com/repos/branan/puppet/hooks","issue_events_url":"https://api.github.com/repos/branan/puppet/issues/events{/number}","events_url":"https://api.github.com/repos/branan/puppet/events","assignees_url":"https://api.github.com/repos/branan/puppet/assignees{/user}","branches_url":"https://api.github.com/repos/branan/puppet/branches{/branch}","tags_url":"https://api.github.com/repos/branan/puppet/tags","blobs_url":"https://api.github.com/repos/branan/puppet/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/branan/puppet/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/branan/puppet/git/refs{/sha}","trees_url":"https://api.github.com/repos/branan/puppet/git/trees{/sha}","statuses_url":"https://api.github.com/repos/branan/puppet/statuses/{sha}","languages_url":"https://api.github.com/repos/branan/puppet/languages","stargazers_url":"https://api.github.com/repos/branan/puppet/stargazers","contributors_url":"https://api.github.com/repos/branan/puppet/contributors","subscribers_url":"https://api.github.com/repos/branan/puppet/subscribers","subscription_url":"https://api.github.com/repos/branan/puppet/subscription","commits_url":"https://api.github.com/repos/branan/puppet/commits{/sha}","git_commits_url":"https://api.github.com/repos/branan/puppet/git/commits{/sha}","comments_url":"https://api.github.com/repos/branan/puppet/comments{/number}","issue_comment_url":"https://api.github.com/repos/branan/puppet/issues/comments{/number}","contents_url":"https://api.github.com/repos/branan/puppet/contents/{+path}","compare_url":"https://api.github.com/repos/branan/puppet/compare/{base}...{head}","merges_url":"https://api.github.com/repos/branan/puppet/merges","archive_url":"https://api.github.com/repos/branan/puppet/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/branan/puppet/downloads","issues_url":"https://api.github.com/repos/branan/puppet/issues{/number}","pulls_url":"https://api.github.com/repos/branan/puppet/pulls{/number}","milestones_url":"https://api.github.com/repos/branan/puppet/milestones{/number}","notifications_url":"https://api.github.com/repos/branan/puppet/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/branan/puppet/labels{/name}","releases_url":"https://api.github.com/repos/branan/puppet/releases{/id}","deployments_url":"https://api.github.com/repos/branan/puppet/deployments","created_at":"2012-09-07T16:54:25Z","updated_at":"2015-04-02T22:11:41Z","pushed_at":"2016-10-27T20:27:43Z","git_url":"git://github.com/branan/puppet.git","ssh_url":"git@github.com:branan/puppet.git","clone_url":"https://github.com/branan/puppet.git","svn_url":"https://github.com/branan/puppet","homepage":"http://www.puppetlabs.com/puppet/introduction/","size":55691,"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":"689b898949d5d40f2da842876c22b371e53ca1e4","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}","deployments_url":"https://api.github.com/repos/puppetlabs/puppet/deployments","created_at":"2010-09-14T19:26:44Z","updated_at":"2016-11-07T19:43:37Z","pushed_at":"2016-11-07T23:46:04Z","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":"https://puppet.com/puppet/what-is-puppet","size":83440,"stargazers_count":4232,"watchers_count":4232,"language":"Ruby","has_issues":false,"has_downloads":true,"has_wiki":false,"has_pages":false,"forks_count":1740,"mirror_url":null,"open_issues_count":60,"forks":1740,"open_issues":60,"watchers":4232,"default_branch":"master"}},"_links":{"self":{"href":"https://api.github.com/repos/puppetlabs/puppet/pulls/5329"},"html":{"href":"https://github.com/puppetlabs/puppet/pull/5329"},"issue":{"href":"https://api.github.com/repos/puppetlabs/puppet/issues/5329"},"comments":{"href":"https://api.github.com/repos/puppetlabs/puppet/issues/5329/comments"},"review_comments":{"href":"https://api.github.com/repos/puppetlabs/puppet/pulls/5329/comments"},"review_comment":{"href":"https://api.github.com/repos/puppetlabs/puppet/pulls/comments{/number}"},"commits":{"href":"https://api.github.com/repos/puppetlabs/puppet/pulls/5329/commits"},"statuses":{"href":"https://api.github.com/repos/puppetlabs/puppet/statuses/a28fb8d451111e60f91a04c5589e92cb63d08b2f"}}}}
{"actor":{"display_login":"Magisus"}}