Adoptable Cookbooks List

Looking for a cookbook to adopt? You can now see a list of cookbooks available for adoption!
List of Adoptable Cookbooks

Supermarket Belongs to the Community

Supermarket belongs to the community. While Chef has the responsibility to keep it running and be stewards of its functionality, what it does and how it works is driven by the community. The chef/supermarket repository will continue to be where development of the Supermarket application takes place. Come be part of shaping the direction of Supermarket by opening issues and pull requests or by joining us on the Chef Mailing List.

Select Badges

Select Supported Platforms

Select Status

RSS

percona-multi (3) Versions 0.1.1

Provides Percona master/slave replication services

Policyfile
Berkshelf
Knife
cookbook 'percona-multi', '= 0.1.1', :supermarket
cookbook 'percona-multi', '= 0.1.1'
knife supermarket install percona-multi
knife supermarket download percona-multi
README
Dependencies
Changelog
Quality 0%

percona-multi

Chef wrapper cookbook to create Percona master/slave server setups. This wrapper
should work on all Debian and RHEL platform family OS's.

Utilization

This cookbook works as a wrapper around the community Percona cookbook to allow
for the creation of master/slave and master/multi-slave Percona systems.

This cookbook utilizes two recipes depending on the server's defined role.

master.rb : sets up a master Percona server and creates replicant users for each
slave node defined within the attributes

slave.rb : sets up a slave Percona server pointing it to the master node defined
within attributes.

There is no search function within this cookbook. The IP addresses of the master
and slave nodes must be defined in attributes before it will converge.

Keep in mind that passwords have to be set via encrypted data bags as outlined
in the percona cookbook

There is no search function within this cookbook. The IP addresses for the servers
has to be set as attributes and build order becomes important.Your orchestration
layer should build the servers, then the IP addresses should be set as attributes,
then the master node should then be converged prior to converging the slave nodes.

Attributes

Local attributes --

['percona']['master'] : sets the IP address that defines the master node

['percona']['slaves'] : is any array that defines the IP address(es) of
the slave node(s).

Percona cookbook attributes to be aware of --

['percona']['server']['bind_to'] : should be set to "private_ip" vice default of
"public_ip" to ensure Percona is listening on the internal IP's only.

License & Authors

Copyright:: 2015 Rackspace US, Inc

Licensed under the Apache License, Version 2.0 (the "License");
you may not use this file except in compliance with the License.
You may obtain a copy of the License at

http://www.apache.org/licenses/LICENSE-2.0

Unless required by applicable law or agreed to in writing, software
distributed under the License is distributed on an "AS IS" BASIS,
WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
See the License for the specific language governing permissions and
limitations under the License.

percona-multi CHANGELOG

This file is used to list changes made in each version of the percona-multi cookbook.

0.1.1

Bump to release to fix supermarket

0.1.0

Initial release of percona-multi

Foodcritic Metric
            

0.1.1 failed this metric

FC023: Prefer conditional attributes: /tmp/cook/05ab4f2e6c6180658e8683e6/percona-multi/recipes/master.rb:32
FC023: Prefer conditional attributes: /tmp/cook/05ab4f2e6c6180658e8683e6/percona-multi/recipes/slave.rb:30
FC031: Cookbook without metadata file: /tmp/cook/05ab4f2e6c6180658e8683e6/percona-multi/metadata.rb:1
FC045: Consider setting cookbook name in metadata: /tmp/cook/05ab4f2e6c6180658e8683e6/percona-multi/metadata.rb:1