cookbook 'sudo_consul', '~> 0.0.3'
sudo_consul (1) Versions 0.0.3 Follow0
install consul
cookbook 'sudo_consul', '~> 0.0.3', :supermarket
knife supermarket install sudo_consul
knife supermarket download sudo_consul
sudo consul
sudo 的consul cookbook
How to install
add below code before include_recipe "sudo_consul::default"
For Server
node.default['consul']['config']['bootstrap_expect'] = 1
node.default['consul']['config']['server'] = true
node.default['consul']['config']['ui_dir'] = '/srv/consul-ui/current/dist'
node.default['sudo_consul']['server_name'] = 'consul.example.com'
node.default['consul']['config']['node_name'] = 'amazing_consul_server'
For Client
node.default['consul']['config']['node_name'] = 'amazing_consul_client'
node.default['consul']['config']['start_join'] = %w{172.31.1.1}
Enable Consul ui
include_recipe "sudo_consul::consul_ui"
MIT
Dependent cookbooks
apt >= 0.0.0 |
nginx >= 0.0.0 |
consul ~> 1.4.3 |
consul-template ~> 0.9.1 |
sudo_consul_service ~> 0.0.4 |
Contingent cookbooks
There are no cookbooks that are contingent upon this one.
0.0.3
- fix stupid attributes
Collaborator Number Metric
0.0.3 failed this metric
Failure: Cookbook has 0 collaborators. A cookbook must have at least 2 collaborators to pass this metric.
Contributing File Metric
0.0.3 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.0.3 failed this metric
FC064: Ensure issues_url is set in metadata: sudo_consul/metadata.rb:1
FC065: Ensure source_url is set in metadata: sudo_consul/metadata.rb:1
FC066: Ensure chef_version is set in metadata: sudo_consul/metadata.rb:1
Run with Foodcritic Version 16.3.0 with tags metadata,correctness ~FC031 ~FC045 and failure tags any
No Binaries Metric
0.0.3 passed this metric
Testing File Metric
0.0.3 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.0.3 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.0.3 failed this metric
0.0.3 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.0.3 failed this metric
FC064: Ensure issues_url is set in metadata: sudo_consul/metadata.rb:1
FC065: Ensure source_url is set in metadata: sudo_consul/metadata.rb:1
FC066: Ensure chef_version is set in metadata: sudo_consul/metadata.rb:1
Run with Foodcritic Version 16.3.0 with tags metadata,correctness ~FC031 ~FC045 and failure tags any
No Binaries Metric
0.0.3 passed this metric
Testing File Metric
0.0.3 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.0.3 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.0.3 failed this metric
FC065: Ensure source_url is set in metadata: sudo_consul/metadata.rb:1
FC066: Ensure chef_version is set in metadata: sudo_consul/metadata.rb:1
Run with Foodcritic Version 16.3.0 with tags metadata,correctness ~FC031 ~FC045 and failure tags any
0.0.3 passed this metric
Testing File Metric
0.0.3 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.0.3 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.0.3 failed this metric
0.0.3 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