{"action":"opened","number":682,"pull_request":{"url":"https://api.github.com/repos/puppetlabs/puppetlabs-mysql/pulls/682","id":30386640,"html_url":"https://github.com/puppetlabs/puppetlabs-mysql/pull/682","diff_url":"https://github.com/puppetlabs/puppetlabs-mysql/pull/682.diff","patch_url":"https://github.com/puppetlabs/puppetlabs-mysql/pull/682.patch","issue_url":"https://api.github.com/repos/puppetlabs/puppetlabs-mysql/issues/682","number":682,"state":"open","locked":false,"title":"Remove default install root password if set","user":{"login":"JCotton1123","id":2660972,"avatar_url":"https://avatars.githubusercontent.com/u/2660972?v=3","gravatar_id":"","url":"https://api.github.com/users/JCotton1123","html_url":"https://github.com/JCotton1123","followers_url":"https://api.github.com/users/JCotton1123/followers","following_url":"https://api.github.com/users/JCotton1123/following{/other_user}","gists_url":"https://api.github.com/users/JCotton1123/gists{/gist_id}","starred_url":"https://api.github.com/users/JCotton1123/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/JCotton1123/subscriptions","organizations_url":"https://api.github.com/users/JCotton1123/orgs","repos_url":"https://api.github.com/users/JCotton1123/repos","events_url":"https://api.github.com/users/JCotton1123/events{/privacy}","received_events_url":"https://api.github.com/users/JCotton1123/received_events","type":"User","site_admin":false},"body":"I haven't written any tests for this PR b/c I wasn't sure you'd be willing to merge it. If you're OK with this approach, I will write tests. If you're not, please provide some feedback on an alternate way to address this \"feature\".\r\n\r\nNew installations of MySQL will configure a default random password for the root user with an expiration. See http://datacharmer.blogspot.com/2012/11/mysql-568-broken-compatibility-ahead.html. Until the root password is changed, no actions can be performed. This PR adds detection of the mysql_secret file and removes this password. If the user desires to set a password it will be configured by the mysql_user resource further down in the mysql::server::root_password class.","created_at":"2015-03-03T16:07:22Z","updated_at":"2015-03-03T16:07:22Z","closed_at":null,"merged_at":null,"merge_commit_sha":"637511efdc7cbe72a259aa676d28b6bdb446ec39","assignee":null,"milestone":null,"commits_url":"https://api.github.com/repos/puppetlabs/puppetlabs-mysql/pulls/682/commits","review_comments_url":"https://api.github.com/repos/puppetlabs/puppetlabs-mysql/pulls/682/comments","review_comment_url":"https://api.github.com/repos/puppetlabs/puppetlabs-mysql/pulls/comments{/number}","comments_url":"https://api.github.com/repos/puppetlabs/puppetlabs-mysql/issues/682/comments","statuses_url":"https://api.github.com/repos/puppetlabs/puppetlabs-mysql/statuses/b86c135c0ce74501aa65386de60834ea1f2cc584","head":{"label":"eems-leo:process-secret-file","ref":"process-secret-file","sha":"b86c135c0ce74501aa65386de60834ea1f2cc584","user":{"login":"eems-leo","id":9215158,"avatar_url":"https://avatars.githubusercontent.com/u/9215158?v=3","gravatar_id":"","url":"https://api.github.com/users/eems-leo","html_url":"https://github.com/eems-leo","followers_url":"https://api.github.com/users/eems-leo/followers","following_url":"https://api.github.com/users/eems-leo/following{/other_user}","gists_url":"https://api.github.com/users/eems-leo/gists{/gist_id}","starred_url":"https://api.github.com/users/eems-leo/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/eems-leo/subscriptions","organizations_url":"https://api.github.com/users/eems-leo/orgs","repos_url":"https://api.github.com/users/eems-leo/repos","events_url":"https://api.github.com/users/eems-leo/events{/privacy}","received_events_url":"https://api.github.com/users/eems-leo/received_events","type":"Organization","site_admin":false},"repo":{"id":31473508,"name":"puppetlabs-mysql","full_name":"eems-leo/puppetlabs-mysql","owner":{"login":"eems-leo","id":9215158,"avatar_url":"https://avatars.githubusercontent.com/u/9215158?v=3","gravatar_id":"","url":"https://api.github.com/users/eems-leo","html_url":"https://github.com/eems-leo","followers_url":"https://api.github.com/users/eems-leo/followers","following_url":"https://api.github.com/users/eems-leo/following{/other_user}","gists_url":"https://api.github.com/users/eems-leo/gists{/gist_id}","starred_url":"https://api.github.com/users/eems-leo/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/eems-leo/subscriptions","organizations_url":"https://api.github.com/users/eems-leo/orgs","repos_url":"https://api.github.com/users/eems-leo/repos","events_url":"https://api.github.com/users/eems-leo/events{/privacy}","received_events_url":"https://api.github.com/users/eems-leo/received_events","type":"Organization","site_admin":false},"private":false,"html_url":"https://github.com/eems-leo/puppetlabs-mysql","description":"MySQL Puppet Module / Manifests + Types & Providers","fork":true,"url":"https://api.github.com/repos/eems-leo/puppetlabs-mysql","forks_url":"https://api.github.com/repos/eems-leo/puppetlabs-mysql/forks","keys_url":"https://api.github.com/repos/eems-leo/puppetlabs-mysql/keys{/key_id}","collaborators_url":"https://api.github.com/repos/eems-leo/puppetlabs-mysql/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/eems-leo/puppetlabs-mysql/teams","hooks_url":"https://api.github.com/repos/eems-leo/puppetlabs-mysql/hooks","issue_events_url":"https://api.github.com/repos/eems-leo/puppetlabs-mysql/issues/events{/number}","events_url":"https://api.github.com/repos/eems-leo/puppetlabs-mysql/events","assignees_url":"https://api.github.com/repos/eems-leo/puppetlabs-mysql/assignees{/user}","branches_url":"https://api.github.com/repos/eems-leo/puppetlabs-mysql/branches{/branch}","tags_url":"https://api.github.com/repos/eems-leo/puppetlabs-mysql/tags","blobs_url":"https://api.github.com/repos/eems-leo/puppetlabs-mysql/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/eems-leo/puppetlabs-mysql/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/eems-leo/puppetlabs-mysql/git/refs{/sha}","trees_url":"https://api.github.com/repos/eems-leo/puppetlabs-mysql/git/trees{/sha}","statuses_url":"https://api.github.com/repos/eems-leo/puppetlabs-mysql/statuses/{sha}","languages_url":"https://api.github.com/repos/eems-leo/puppetlabs-mysql/languages","stargazers_url":"https://api.github.com/repos/eems-leo/puppetlabs-mysql/stargazers","contributors_url":"https://api.github.com/repos/eems-leo/puppetlabs-mysql/contributors","subscribers_url":"https://api.github.com/repos/eems-leo/puppetlabs-mysql/subscribers","subscription_url":"https://api.github.com/repos/eems-leo/puppetlabs-mysql/subscription","commits_url":"https://api.github.com/repos/eems-leo/puppetlabs-mysql/commits{/sha}","git_commits_url":"https://api.github.com/repos/eems-leo/puppetlabs-mysql/git/commits{/sha}","comments_url":"https://api.github.com/repos/eems-leo/puppetlabs-mysql/comments{/number}","issue_comment_url":"https://api.github.com/repos/eems-leo/puppetlabs-mysql/issues/comments{/number}","contents_url":"https://api.github.com/repos/eems-leo/puppetlabs-mysql/contents/{+path}","compare_url":"https://api.github.com/repos/eems-leo/puppetlabs-mysql/compare/{base}...{head}","merges_url":"https://api.github.com/repos/eems-leo/puppetlabs-mysql/merges","archive_url":"https://api.github.com/repos/eems-leo/puppetlabs-mysql/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/eems-leo/puppetlabs-mysql/downloads","issues_url":"https://api.github.com/repos/eems-leo/puppetlabs-mysql/issues{/number}","pulls_url":"https://api.github.com/repos/eems-leo/puppetlabs-mysql/pulls{/number}","milestones_url":"https://api.github.com/repos/eems-leo/puppetlabs-mysql/milestones{/number}","notifications_url":"https://api.github.com/repos/eems-leo/puppetlabs-mysql/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/eems-leo/puppetlabs-mysql/labels{/name}","releases_url":"https://api.github.com/repos/eems-leo/puppetlabs-mysql/releases{/id}","created_at":"2015-02-28T19:23:13Z","updated_at":"2015-02-28T19:23:14Z","pushed_at":"2015-03-03T15:57:22Z","git_url":"git://github.com/eems-leo/puppetlabs-mysql.git","ssh_url":"git@github.com:eems-leo/puppetlabs-mysql.git","clone_url":"https://github.com/eems-leo/puppetlabs-mysql.git","svn_url":"https://github.com/eems-leo/puppetlabs-mysql","homepage":"","size":1121,"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":"60c0bfb8698aa98ad123dca1dcb4a299a3b2053c","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":1797486,"name":"puppetlabs-mysql","full_name":"puppetlabs/puppetlabs-mysql","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-mysql","description":"MySQL Puppet Module / Manifests + Types & Providers","fork":false,"url":"https://api.github.com/repos/puppetlabs/puppetlabs-mysql","forks_url":"https://api.github.com/repos/puppetlabs/puppetlabs-mysql/forks","keys_url":"https://api.github.com/repos/puppetlabs/puppetlabs-mysql/keys{/key_id}","collaborators_url":"https://api.github.com/repos/puppetlabs/puppetlabs-mysql/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/puppetlabs/puppetlabs-mysql/teams","hooks_url":"https://api.github.com/repos/puppetlabs/puppetlabs-mysql/hooks","issue_events_url":"https://api.github.com/repos/puppetlabs/puppetlabs-mysql/issues/events{/number}","events_url":"https://api.github.com/repos/puppetlabs/puppetlabs-mysql/events","assignees_url":"https://api.github.com/repos/puppetlabs/puppetlabs-mysql/assignees{/user}","branches_url":"https://api.github.com/repos/puppetlabs/puppetlabs-mysql/branches{/branch}","tags_url":"https://api.github.com/repos/puppetlabs/puppetlabs-mysql/tags","blobs_url":"https://api.github.com/repos/puppetlabs/puppetlabs-mysql/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/puppetlabs/puppetlabs-mysql/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/puppetlabs/puppetlabs-mysql/git/refs{/sha}","trees_url":"https://api.github.com/repos/puppetlabs/puppetlabs-mysql/git/trees{/sha}","statuses_url":"https://api.github.com/repos/puppetlabs/puppetlabs-mysql/statuses/{sha}","languages_url":"https://api.github.com/repos/puppetlabs/puppetlabs-mysql/languages","stargazers_url":"https://api.github.com/repos/puppetlabs/puppetlabs-mysql/stargazers","contributors_url":"https://api.github.com/repos/puppetlabs/puppetlabs-mysql/contributors","subscribers_url":"https://api.github.com/repos/puppetlabs/puppetlabs-mysql/subscribers","subscription_url":"https://api.github.com/repos/puppetlabs/puppetlabs-mysql/subscription","commits_url":"https://api.github.com/repos/puppetlabs/puppetlabs-mysql/commits{/sha}","git_commits_url":"https://api.github.com/repos/puppetlabs/puppetlabs-mysql/git/commits{/sha}","comments_url":"https://api.github.com/repos/puppetlabs/puppetlabs-mysql/comments{/number}","issue_comment_url":"https://api.github.com/repos/puppetlabs/puppetlabs-mysql/issues/comments{/number}","contents_url":"https://api.github.com/repos/puppetlabs/puppetlabs-mysql/contents/{+path}","compare_url":"https://api.github.com/repos/puppetlabs/puppetlabs-mysql/compare/{base}...{head}","merges_url":"https://api.github.com/repos/puppetlabs/puppetlabs-mysql/merges","archive_url":"https://api.github.com/repos/puppetlabs/puppetlabs-mysql/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/puppetlabs/puppetlabs-mysql/downloads","issues_url":"https://api.github.com/repos/puppetlabs/puppetlabs-mysql/issues{/number}","pulls_url":"https://api.github.com/repos/puppetlabs/puppetlabs-mysql/pulls{/number}","milestones_url":"https://api.github.com/repos/puppetlabs/puppetlabs-mysql/milestones{/number}","notifications_url":"https://api.github.com/repos/puppetlabs/puppetlabs-mysql/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/puppetlabs/puppetlabs-mysql/labels{/name}","releases_url":"https://api.github.com/repos/puppetlabs/puppetlabs-mysql/releases{/id}","created_at":"2011-05-25T06:10:41Z","updated_at":"2015-03-01T13:45:40Z","pushed_at":"2015-03-02T22:33:32Z","git_url":"git://github.com/puppetlabs/puppetlabs-mysql.git","ssh_url":"git@github.com:puppetlabs/puppetlabs-mysql.git","clone_url":"https://github.com/puppetlabs/puppetlabs-mysql.git","svn_url":"https://github.com/puppetlabs/puppetlabs-mysql","homepage":"","size":4330,"stargazers_count":335,"watchers_count":335,"language":"Ruby","has_issues":false,"has_downloads":true,"has_wiki":false,"has_pages":false,"forks_count":527,"mirror_url":null,"open_issues_count":62,"forks":527,"open_issues":62,"watchers":335,"default_branch":"master"}},"_links":{"self":{"href":"https://api.github.com/repos/puppetlabs/puppetlabs-mysql/pulls/682"},"html":{"href":"https://github.com/puppetlabs/puppetlabs-mysql/pull/682"},"issue":{"href":"https://api.github.com/repos/puppetlabs/puppetlabs-mysql/issues/682"},"comments":{"href":"https://api.github.com/repos/puppetlabs/puppetlabs-mysql/issues/682/comments"},"review_comments":{"href":"https://api.github.com/repos/puppetlabs/puppetlabs-mysql/pulls/682/comments"},"review_comment":{"href":"https://api.github.com/repos/puppetlabs/puppetlabs-mysql/pulls/comments{/number}"},"commits":{"href":"https://api.github.com/repos/puppetlabs/puppetlabs-mysql/pulls/682/commits"},"statuses":{"href":"https://api.github.com/repos/puppetlabs/puppetlabs-mysql/statuses/b86c135c0ce74501aa65386de60834ea1f2cc584"}},"merged":false,"mergeable":true,"mergeable_state":"clean","merged_by":null,"comments":0,"review_comments":0,"commits":1,"additions":17,"deletions":0,"changed_files":3}}