cookbook 'repmgr', '~> 0.2.2'
repmgr (5) Versions 0.2.2 Follow4
Replication manager for PostgreSQL
cookbook 'repmgr', '~> 0.2.2', :supermarket
knife supermarket install repmgr
knife supermarket download repmgr
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
- Repository: https://github.com/hw-cookbooks/repmgr
- IRC: Freenode @ #heavywater
Dependent cookbooks
postgresql >= 2.0.0 |
build-essential >= 0.0.0 |
database >= 0.0.0 |
discovery >= 0.2.0 |
runit >= 0.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
FC121: Cookbook depends on cookbook made obsolete by Chef 14: repmgr/metadata.rb:1
FC122: Use the build_essential resource instead of the recipe: repmgr/recipes/source_install.rb:5
Run with Foodcritic Version 16.3.0 with tags metadata,correctness ~FC031 ~FC045 and failure tags any
No Binaries Metric
0.2.2 passed this metric
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
0.2.2 failed this 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
FC121: Cookbook depends on cookbook made obsolete by Chef 14: repmgr/metadata.rb:1
FC122: Use the build_essential resource instead of the recipe: repmgr/recipes/source_install.rb:5
Run with Foodcritic Version 16.3.0 with tags metadata,correctness ~FC031 ~FC045 and failure tags any
No Binaries Metric
0.2.2 passed this metric
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
0.2.2 failed this metric
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
FC121: Cookbook depends on cookbook made obsolete by Chef 14: repmgr/metadata.rb:1
FC122: Use the build_essential resource instead of the recipe: repmgr/recipes/source_install.rb:5
Run with Foodcritic Version 16.3.0 with tags metadata,correctness ~FC031 ~FC045 and failure tags any
0.2.2 passed this metric
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
0.2.2 failed this 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