{"action":"created","issue":{"url":"https://api.github.com/repos/rackspace-cookbooks/mysql-multi/issues/44","labels_url":"https://api.github.com/repos/rackspace-cookbooks/mysql-multi/issues/44/labels{/name}","comments_url":"https://api.github.com/repos/rackspace-cookbooks/mysql-multi/issues/44/comments","events_url":"https://api.github.com/repos/rackspace-cookbooks/mysql-multi/issues/44/events","html_url":"https://github.com/rackspace-cookbooks/mysql-multi/issues/44","id":55292831,"number":44,"title":"Doesn't change master if new master node created, and old deleted","user":{"login":"lil-cain","id":3976402,"avatar_url":"https://avatars.githubusercontent.com/u/3976402?v=3","gravatar_id":"","url":"https://api.github.com/users/lil-cain","html_url":"https://github.com/lil-cain","followers_url":"https://api.github.com/users/lil-cain/followers","following_url":"https://api.github.com/users/lil-cain/following{/other_user}","gists_url":"https://api.github.com/users/lil-cain/gists{/gist_id}","starred_url":"https://api.github.com/users/lil-cain/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/lil-cain/subscriptions","organizations_url":"https://api.github.com/users/lil-cain/orgs","repos_url":"https://api.github.com/users/lil-cain/repos","events_url":"https://api.github.com/users/lil-cain/events{/privacy}","received_events_url":"https://api.github.com/users/lil-cain/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"milestone":null,"comments":3,"created_at":"2015-01-23T15:17:38Z","updated_at":"2015-01-26T11:11:23Z","closed_at":null,"body":"Hi,\r\n\r\nDue to https://github.com/rackspace-cookbooks/mysql-multi/blob/master/recipes/_find_master.rb#L25, the master attribute doesn't appear to change if you delete one master from chef, and create another node with the role.\r\n\r\nIs there a reason the mysql-multi::_find_master recipe checks if the attribute is set before performing the search?"},"comment":{"url":"https://api.github.com/repos/rackspace-cookbooks/mysql-multi/issues/comments/71445749","html_url":"https://github.com/rackspace-cookbooks/mysql-multi/issues/44#issuecomment-71445749","issue_url":"https://api.github.com/repos/rackspace-cookbooks/mysql-multi/issues/44","id":71445749,"user":{"login":"martinb3","id":103033,"avatar_url":"https://avatars.githubusercontent.com/u/103033?v=3","gravatar_id":"","url":"https://api.github.com/users/martinb3","html_url":"https://github.com/martinb3","followers_url":"https://api.github.com/users/martinb3/followers","following_url":"https://api.github.com/users/martinb3/following{/other_user}","gists_url":"https://api.github.com/users/martinb3/gists{/gist_id}","starred_url":"https://api.github.com/users/martinb3/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/martinb3/subscriptions","organizations_url":"https://api.github.com/users/martinb3/orgs","repos_url":"https://api.github.com/users/martinb3/repos","events_url":"https://api.github.com/users/martinb3/events{/privacy}","received_events_url":"https://api.github.com/users/martinb3/received_events","type":"User","site_admin":false},"created_at":"2015-01-26T11:11:23Z","updated_at":"2015-01-26T11:11:23Z","body":"@lil-cain, I've submitted a PR with some updates to the docs about this, to make it more clear. If that meets your needs, let us know and we'll close this. We could, alternately, split out the attributes between an override attribute and an automatically detected attribute, and always run the search... but it seems like we have some consensus that it might be more dangerous to do so. If you want to consult with support overall, and see if they agree or disagree, we can proceed accordingly (and make that change if support would like it as a group, otherwise leave it as-is)."}}