{"action":"created","comment":{"url":"https://api.github.com/repos/puppetlabs/puppetlabs-puppetdb/pulls/comments/33069252","id":33069252,"diff_hunk":"@@ -11,9 +11,12 @@\n   $disable_ssl               = false\n   $open_ssl_listen_port      = undef\n   $postgres_listen_addresses = 'localhost'\n-\n-  $database                  = 'postgres'\n+  \n+  $puppetdb_version          = $puppetdb::globals::version\n+  $database                  = $puppetdb::globals::database\n   $manage_dbserver           = true\n+  $manage_pg_repo            = false","path":"manifests/params.pp","position":19,"original_position":19,"commit_id":"72e24bb5922e2ffea5f0bc0ec481efdcb75c762b","original_commit_id":"72e24bb5922e2ffea5f0bc0ec481efdcb75c762b","user":{"login":"ajroetker","id":3198124,"avatar_url":"https://avatars.githubusercontent.com/u/3198124?v=3","gravatar_id":"","url":"https://api.github.com/users/ajroetker","html_url":"https://github.com/ajroetker","followers_url":"https://api.github.com/users/ajroetker/followers","following_url":"https://api.github.com/users/ajroetker/following{/other_user}","gists_url":"https://api.github.com/users/ajroetker/gists{/gist_id}","starred_url":"https://api.github.com/users/ajroetker/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/ajroetker/subscriptions","organizations_url":"https://api.github.com/users/ajroetker/orgs","repos_url":"https://api.github.com/users/ajroetker/repos","events_url":"https://api.github.com/users/ajroetker/events{/privacy}","received_events_url":"https://api.github.com/users/ajroetker/received_events","type":"User","site_admin":false},"body":"ping @mullr \r\n","created_at":"2015-06-23T17:42:08Z","updated_at":"2015-06-23T17:42:08Z","html_url":"https://github.com/puppetlabs/puppetlabs-puppetdb/pull/193#discussion_r33069252","pull_request_url":"https://api.github.com/repos/puppetlabs/puppetlabs-puppetdb/pulls/193","_links":{"self":{"href":"https://api.github.com/repos/puppetlabs/puppetlabs-puppetdb/pulls/comments/33069252"},"html":{"href":"https://github.com/puppetlabs/puppetlabs-puppetdb/pull/193#discussion_r33069252"},"pull_request":{"href":"https://api.github.com/repos/puppetlabs/puppetlabs-puppetdb/pulls/193"}}},"pull_request":{"url":"https://api.github.com/repos/puppetlabs/puppetlabs-puppetdb/pulls/193","id":38051392,"html_url":"https://github.com/puppetlabs/puppetlabs-puppetdb/pull/193","diff_url":"https://github.com/puppetlabs/puppetlabs-puppetdb/pull/193.diff","patch_url":"https://github.com/puppetlabs/puppetlabs-puppetdb/pull/193.patch","issue_url":"https://api.github.com/repos/puppetlabs/puppetlabs-puppetdb/issues/193","number":193,"state":"open","locked":false,"title":"(PDB-1523) Add pathing for AIO, defaulting to non-AIO for older PDBs","user":{"login":"ajroetker","id":3198124,"avatar_url":"https://avatars.githubusercontent.com/u/3198124?v=3","gravatar_id":"","url":"https://api.github.com/users/ajroetker","html_url":"https://github.com/ajroetker","followers_url":"https://api.github.com/users/ajroetker/followers","following_url":"https://api.github.com/users/ajroetker/following{/other_user}","gists_url":"https://api.github.com/users/ajroetker/gists{/gist_id}","starred_url":"https://api.github.com/users/ajroetker/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/ajroetker/subscriptions","organizations_url":"https://api.github.com/users/ajroetker/orgs","repos_url":"https://api.github.com/users/ajroetker/repos","events_url":"https://api.github.com/users/ajroetker/events{/privacy}","received_events_url":"https://api.github.com/users/ajroetker/received_events","type":"User","site_admin":false},"body":"This commit adds a globals class to PuppetDB which allows us to change\r\nthe param defaults for the module depending on what version of PuppetDB\r\nthey are using (similar to the PostgreSQL module).\r\nThis commit also changes the default PuppetDB 3.x configuration pathing\r\nto assume AIO Puppet.","created_at":"2015-06-18T20:49:20Z","updated_at":"2015-06-23T17:42:08Z","closed_at":null,"merged_at":null,"merge_commit_sha":"0dd7eb1694aba9e39b8fec96ced71a1fc7d5c950","assignee":null,"milestone":null,"commits_url":"https://api.github.com/repos/puppetlabs/puppetlabs-puppetdb/pulls/193/commits","review_comments_url":"https://api.github.com/repos/puppetlabs/puppetlabs-puppetdb/pulls/193/comments","review_comment_url":"https://api.github.com/repos/puppetlabs/puppetlabs-puppetdb/pulls/comments{/number}","comments_url":"https://api.github.com/repos/puppetlabs/puppetlabs-puppetdb/issues/193/comments","statuses_url":"https://api.github.com/repos/puppetlabs/puppetlabs-puppetdb/statuses/72e24bb5922e2ffea5f0bc0ec481efdcb75c762b","head":{"label":"ajroetker:maint/add_ability_to_manage_old_terminus","ref":"maint/add_ability_to_manage_old_terminus","sha":"72e24bb5922e2ffea5f0bc0ec481efdcb75c762b","user":{"login":"ajroetker","id":3198124,"avatar_url":"https://avatars.githubusercontent.com/u/3198124?v=3","gravatar_id":"","url":"https://api.github.com/users/ajroetker","html_url":"https://github.com/ajroetker","followers_url":"https://api.github.com/users/ajroetker/followers","following_url":"https://api.github.com/users/ajroetker/following{/other_user}","gists_url":"https://api.github.com/users/ajroetker/gists{/gist_id}","starred_url":"https://api.github.com/users/ajroetker/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/ajroetker/subscriptions","organizations_url":"https://api.github.com/users/ajroetker/orgs","repos_url":"https://api.github.com/users/ajroetker/repos","events_url":"https://api.github.com/users/ajroetker/events{/privacy}","received_events_url":"https://api.github.com/users/ajroetker/received_events","type":"User","site_admin":false},"repo":{"id":11905793,"name":"puppetlabs-puppetdb","full_name":"ajroetker/puppetlabs-puppetdb","owner":{"login":"ajroetker","id":3198124,"avatar_url":"https://avatars.githubusercontent.com/u/3198124?v=3","gravatar_id":"","url":"https://api.github.com/users/ajroetker","html_url":"https://github.com/ajroetker","followers_url":"https://api.github.com/users/ajroetker/followers","following_url":"https://api.github.com/users/ajroetker/following{/other_user}","gists_url":"https://api.github.com/users/ajroetker/gists{/gist_id}","starred_url":"https://api.github.com/users/ajroetker/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/ajroetker/subscriptions","organizations_url":"https://api.github.com/users/ajroetker/orgs","repos_url":"https://api.github.com/users/ajroetker/repos","events_url":"https://api.github.com/users/ajroetker/events{/privacy}","received_events_url":"https://api.github.com/users/ajroetker/received_events","type":"User","site_admin":false},"private":false,"html_url":"https://github.com/ajroetker/puppetlabs-puppetdb","description":"A puppet module for installing and managing puppetdb","fork":true,"url":"https://api.github.com/repos/ajroetker/puppetlabs-puppetdb","forks_url":"https://api.github.com/repos/ajroetker/puppetlabs-puppetdb/forks","keys_url":"https://api.github.com/repos/ajroetker/puppetlabs-puppetdb/keys{/key_id}","collaborators_url":"https://api.github.com/repos/ajroetker/puppetlabs-puppetdb/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/ajroetker/puppetlabs-puppetdb/teams","hooks_url":"https://api.github.com/repos/ajroetker/puppetlabs-puppetdb/hooks","issue_events_url":"https://api.github.com/repos/ajroetker/puppetlabs-puppetdb/issues/events{/number}","events_url":"https://api.github.com/repos/ajroetker/puppetlabs-puppetdb/events","assignees_url":"https://api.github.com/repos/ajroetker/puppetlabs-puppetdb/assignees{/user}","branches_url":"https://api.github.com/repos/ajroetker/puppetlabs-puppetdb/branches{/branch}","tags_url":"https://api.github.com/repos/ajroetker/puppetlabs-puppetdb/tags","blobs_url":"https://api.github.com/repos/ajroetker/puppetlabs-puppetdb/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/ajroetker/puppetlabs-puppetdb/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/ajroetker/puppetlabs-puppetdb/git/refs{/sha}","trees_url":"https://api.github.com/repos/ajroetker/puppetlabs-puppetdb/git/trees{/sha}","statuses_url":"https://api.github.com/repos/ajroetker/puppetlabs-puppetdb/statuses/{sha}","languages_url":"https://api.github.com/repos/ajroetker/puppetlabs-puppetdb/languages","stargazers_url":"https://api.github.com/repos/ajroetker/puppetlabs-puppetdb/stargazers","contributors_url":"https://api.github.com/repos/ajroetker/puppetlabs-puppetdb/contributors","subscribers_url":"https://api.github.com/repos/ajroetker/puppetlabs-puppetdb/subscribers","subscription_url":"https://api.github.com/repos/ajroetker/puppetlabs-puppetdb/subscription","commits_url":"https://api.github.com/repos/ajroetker/puppetlabs-puppetdb/commits{/sha}","git_commits_url":"https://api.github.com/repos/ajroetker/puppetlabs-puppetdb/git/commits{/sha}","comments_url":"https://api.github.com/repos/ajroetker/puppetlabs-puppetdb/comments{/number}","issue_comment_url":"https://api.github.com/repos/ajroetker/puppetlabs-puppetdb/issues/comments{/number}","contents_url":"https://api.github.com/repos/ajroetker/puppetlabs-puppetdb/contents/{+path}","compare_url":"https://api.github.com/repos/ajroetker/puppetlabs-puppetdb/compare/{base}...{head}","merges_url":"https://api.github.com/repos/ajroetker/puppetlabs-puppetdb/merges","archive_url":"https://api.github.com/repos/ajroetker/puppetlabs-puppetdb/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/ajroetker/puppetlabs-puppetdb/downloads","issues_url":"https://api.github.com/repos/ajroetker/puppetlabs-puppetdb/issues{/number}","pulls_url":"https://api.github.com/repos/ajroetker/puppetlabs-puppetdb/pulls{/number}","milestones_url":"https://api.github.com/repos/ajroetker/puppetlabs-puppetdb/milestones{/number}","notifications_url":"https://api.github.com/repos/ajroetker/puppetlabs-puppetdb/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/ajroetker/puppetlabs-puppetdb/labels{/name}","releases_url":"https://api.github.com/repos/ajroetker/puppetlabs-puppetdb/releases{/id}","created_at":"2013-08-05T18:39:56Z","updated_at":"2014-12-05T22:06:39Z","pushed_at":"2015-06-22T16:27:57Z","git_url":"git://github.com/ajroetker/puppetlabs-puppetdb.git","ssh_url":"git@github.com:ajroetker/puppetlabs-puppetdb.git","clone_url":"https://github.com/ajroetker/puppetlabs-puppetdb.git","svn_url":"https://github.com/ajroetker/puppetlabs-puppetdb","homepage":null,"size":673,"stargazers_count":0,"watchers_count":0,"language":"Puppet","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":0,"default_branch":"master"}},"base":{"label":"puppetlabs:master","ref":"master","sha":"c182b4cec6106ab8cb19ed7325fee7b78a308094","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":4653174,"name":"puppetlabs-puppetdb","full_name":"puppetlabs/puppetlabs-puppetdb","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-puppetdb","description":"A puppet module for installing and managing puppetdb","fork":false,"url":"https://api.github.com/repos/puppetlabs/puppetlabs-puppetdb","forks_url":"https://api.github.com/repos/puppetlabs/puppetlabs-puppetdb/forks","keys_url":"https://api.github.com/repos/puppetlabs/puppetlabs-puppetdb/keys{/key_id}","collaborators_url":"https://api.github.com/repos/puppetlabs/puppetlabs-puppetdb/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/puppetlabs/puppetlabs-puppetdb/teams","hooks_url":"https://api.github.com/repos/puppetlabs/puppetlabs-puppetdb/hooks","issue_events_url":"https://api.github.com/repos/puppetlabs/puppetlabs-puppetdb/issues/events{/number}","events_url":"https://api.github.com/repos/puppetlabs/puppetlabs-puppetdb/events","assignees_url":"https://api.github.com/repos/puppetlabs/puppetlabs-puppetdb/assignees{/user}","branches_url":"https://api.github.com/repos/puppetlabs/puppetlabs-puppetdb/branches{/branch}","tags_url":"https://api.github.com/repos/puppetlabs/puppetlabs-puppetdb/tags","blobs_url":"https://api.github.com/repos/puppetlabs/puppetlabs-puppetdb/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/puppetlabs/puppetlabs-puppetdb/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/puppetlabs/puppetlabs-puppetdb/git/refs{/sha}","trees_url":"https://api.github.com/repos/puppetlabs/puppetlabs-puppetdb/git/trees{/sha}","statuses_url":"https://api.github.com/repos/puppetlabs/puppetlabs-puppetdb/statuses/{sha}","languages_url":"https://api.github.com/repos/puppetlabs/puppetlabs-puppetdb/languages","stargazers_url":"https://api.github.com/repos/puppetlabs/puppetlabs-puppetdb/stargazers","contributors_url":"https://api.github.com/repos/puppetlabs/puppetlabs-puppetdb/contributors","subscribers_url":"https://api.github.com/repos/puppetlabs/puppetlabs-puppetdb/subscribers","subscription_url":"https://api.github.com/repos/puppetlabs/puppetlabs-puppetdb/subscription","commits_url":"https://api.github.com/repos/puppetlabs/puppetlabs-puppetdb/commits{/sha}","git_commits_url":"https://api.github.com/repos/puppetlabs/puppetlabs-puppetdb/git/commits{/sha}","comments_url":"https://api.github.com/repos/puppetlabs/puppetlabs-puppetdb/comments{/number}","issue_comment_url":"https://api.github.com/repos/puppetlabs/puppetlabs-puppetdb/issues/comments{/number}","contents_url":"https://api.github.com/repos/puppetlabs/puppetlabs-puppetdb/contents/{+path}","compare_url":"https://api.github.com/repos/puppetlabs/puppetlabs-puppetdb/compare/{base}...{head}","merges_url":"https://api.github.com/repos/puppetlabs/puppetlabs-puppetdb/merges","archive_url":"https://api.github.com/repos/puppetlabs/puppetlabs-puppetdb/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/puppetlabs/puppetlabs-puppetdb/downloads","issues_url":"https://api.github.com/repos/puppetlabs/puppetlabs-puppetdb/issues{/number}","pulls_url":"https://api.github.com/repos/puppetlabs/puppetlabs-puppetdb/pulls{/number}","milestones_url":"https://api.github.com/repos/puppetlabs/puppetlabs-puppetdb/milestones{/number}","notifications_url":"https://api.github.com/repos/puppetlabs/puppetlabs-puppetdb/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/puppetlabs/puppetlabs-puppetdb/labels{/name}","releases_url":"https://api.github.com/repos/puppetlabs/puppetlabs-puppetdb/releases{/id}","created_at":"2012-06-13T16:17:23Z","updated_at":"2015-05-07T16:16:25Z","pushed_at":"2015-06-22T16:27:58Z","git_url":"git://github.com/puppetlabs/puppetlabs-puppetdb.git","ssh_url":"git@github.com:puppetlabs/puppetlabs-puppetdb.git","clone_url":"https://github.com/puppetlabs/puppetlabs-puppetdb.git","svn_url":"https://github.com/puppetlabs/puppetlabs-puppetdb","homepage":null,"size":1517,"stargazers_count":35,"watchers_count":35,"language":"Puppet","has_issues":false,"has_downloads":true,"has_wiki":true,"has_pages":false,"forks_count":119,"mirror_url":null,"open_issues_count":18,"forks":119,"open_issues":18,"watchers":35,"default_branch":"master"}},"_links":{"self":{"href":"https://api.github.com/repos/puppetlabs/puppetlabs-puppetdb/pulls/193"},"html":{"href":"https://github.com/puppetlabs/puppetlabs-puppetdb/pull/193"},"issue":{"href":"https://api.github.com/repos/puppetlabs/puppetlabs-puppetdb/issues/193"},"comments":{"href":"https://api.github.com/repos/puppetlabs/puppetlabs-puppetdb/issues/193/comments"},"review_comments":{"href":"https://api.github.com/repos/puppetlabs/puppetlabs-puppetdb/pulls/193/comments"},"review_comment":{"href":"https://api.github.com/repos/puppetlabs/puppetlabs-puppetdb/pulls/comments{/number}"},"commits":{"href":"https://api.github.com/repos/puppetlabs/puppetlabs-puppetdb/pulls/193/commits"},"statuses":{"href":"https://api.github.com/repos/puppetlabs/puppetlabs-puppetdb/statuses/72e24bb5922e2ffea5f0bc0ec481efdcb75c762b"}}}}