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

RSS

repmgr (5) Versions 0.2.2

Replication manager for PostgreSQL

Berkshelf/Librarian
Policyfile
Knife
cookbook 'repmgr', '~> 0.2.2'
cookbook 'repmgr', '~> 0.2.2', :supermarket
knife cookbook site install repmgr
knife cookbook site download repmgr
README
Dependencies
Quality 33%

Repmgr

Installs and configures repmgr to enable and monitor PostgreSQL replication.

Usage

Nodes should be labeled as master or slave. Generally done within a role:

name 'master_role'
run_list('role[pg]', 'recipe[repmgr]')
override_attributes(
  :repmgr => {
    :replication => {
      :role => 'master'
    }
  }
)
name 'slave_role'
run_list('role[pg]', 'recipe[repmgr]')
override_attributes(
  :repmgr => {
    :replication => {
      :role => 'slave'
    }
  }
)

Slaves will search for master node within their current environment and sync to that master. By default slave nodes will allow read-only access.

Infos

Dependent cookbooks

runit >= 0.0.0
discovery >= 0.2.0
database >= 0.0.0
build-essential >= 0.0.0
postgresql >= 2.0.0

Contingent cookbooks

There are no cookbooks that are contingent upon this one.

Collaborator Number Metric
            

0.2.2 failed this metric

Failure: Cookbook has 0 collaborators. A cookbook must have at least 2 collaborators to pass this metric.

Contributing File Metric
            

0.2.2 failed this metric

Failure: To pass this metric, your cookbook metadata must include a source url, the source url must be in the form of https://github.com/user/repo, and your repo must contain a CONTRIBUTING.md file

Foodcritic Metric
            

0.2.2 failed this metric

FC034: Unused template variables: repmgr/templates/default/recovery.conf.erb:1
FC064: Ensure issues_url is set in metadata: repmgr/metadata.rb:1
FC065: Ensure source_url is set in metadata: repmgr/metadata.rb:1
FC066: Ensure chef_version is set in metadata: repmgr/metadata.rb:1
FC067: Ensure at least one platform supported in metadata: repmgr/metadata.rb:1
FC069: Ensure standardized license defined in metadata: repmgr/metadata.rb:1
FC075: Cookbook uses node.save to save partial node data to the chef-server mid-run: repmgr/recipes/configure.rb:12
FC075: Cookbook uses node.save to save partial node data to the chef-server mid-run: repmgr/recipes/configure.rb:30
Run with Foodcritic Version 12.2.1 with tags metadata,correctness ~FC031 ~FC045 and failure tags any

License Metric
            

0.2.2 passed this metric

No Binaries Metric
            

0.2.2 passed this metric

Publish Metric
            

0.2.2 passed this metric

Supported Platforms Metric
            

0.2.2 failed this metric

repmgr should declare what platform(s) it supports.

Testing File Metric
            

0.2.2 failed this metric

Failure: To pass this metric, your cookbook metadata must include a source url, the source url must be in the form of https://github.com/user/repo, and your repo must contain a TESTING.md file

Version Tag Metric
            

0.2.2 failed this metric

Failure: To pass this metric, your cookbook metadata must include a source url, the source url must be in the form of https://github.com/user/repo, and your repo must include a tag that matches this cookbook version number