phlipper/chef-percona — pull request #189 by ajardan (2014-08-01 15:12:08+00:00)
Title: Extend master-master capabilities and add SSL

I refactored the cookbook so it is able to configure a master-master setup as well. People also use SSL while replicating outside of internal network, etc, so it is an useful option, I added it too.

Also refactored the way the main config is generated. Instead of 3 similar templates we only use 1 now, and also are able to do custom stuff at the same way not just one OR another.

Same goes for the replication template, we use 1 template for both master and slave, and enable the required sections based on specified attributes.

Of coutse I also fixed the specs.

Please take a look and merge if you think this is useful.

Thanks !