cookbook 'rabbitmq_settings', '~> 0.1.0', :supermarket
rabbitmq_settings (1) Versions 0.1.0 Follow4
Converge rabbitmq settings using lwrp. Depends on opscode-cookbook[rabbitmq].
cookbook 'rabbitmq_settings', '~> 0.1.0'
knife supermarket install rabbitmq_settings
knife supermarket download rabbitmq_settings
rabbitmq_settings cookbook
Converge rabbitmq settings using lwrp. Depends on opscode-cookbook[rabbitmq].
Platform
Will supposed to...
- ubuntu
- smartos
Requirements
- opscode-cookbook[rabbitmq]
Usage
This cookbook depends on cookbook[rabbitmq] from opscode-site.
Set vhosts or users to databag. And add recipe[rabbtmq_seggings::from_databag] to runilst.
Attributes
- default['rabbitmq_settings']['databag_name'] = "rabbitmq"
- Name of data bag for use.
Recipes
from_databag
Create rabbitmq vhost and users from data_bag.
vhosts
Set name of vhost and action.
For example.
Create vhosts /one
and /four
, and delete /two
if exists.
vhosts.json
<pre><code>{
"id": "vhosts",
"vhosts": {
"/one": "add",
"/two": "delete",
"/four": "add"
}
}</code></pre>
users
Set name of user and permissions for vhost.
To clear permission for vhost, set nil to permission value.
For example.
Create user user_one
and set permission ".* .* .*" to vhost /one
.
Delete user_two
if exists.
Clear permission usr_three
from vhost /one
.
<code><pre>{
"id" : "users",
"users" : {
"user_one" : {
"password" : "pass",
"action" : "add",
"permissions" : {
"/one" : "\\".\\" \\".\\" \\".*\\""
}
},
"user_two" : {
"action" : "delete"
},
"user_three" : {
"password" : "pass_three",
"action" : "add",
"permissions" : {
"/one" : null
}
}
}
}</code></pre>
Test
test-kitchen
- kitchen test --platform ubuntu-12.04
Foodcritic
- foodcritic ./
Author
Author:: HiganWorks LLC (sawanoboriyu@higanworks.com)
Dependent cookbooks
rabbitmq >= 0.0.0 |
Contingent cookbooks
There are no cookbooks that are contingent upon this one.
Collaborator Number Metric
0.1.0 failed this metric
Failure: Cookbook has 0 collaborators. A cookbook must have at least 2 collaborators to pass this metric.
Contributing File Metric
0.1.0 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.1.0 failed this metric
FC064: Ensure issues_url is set in metadata: rabbitmq_settings/metadata.rb:1
FC065: Ensure source_url is set in metadata: rabbitmq_settings/metadata.rb:1
FC066: Ensure chef_version is set in metadata: rabbitmq_settings/metadata.rb:1
Run with Foodcritic Version 14.3.0 with tags metadata,correctness ~FC031 ~FC045 and failure tags any
No Binaries Metric
0.1.0 passed this metric
Publish Metric
0.1.0 passed this metric
Supported Platforms Metric
0.1.0 passed this metric
Testing File Metric
0.1.0 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.1.0 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.1.0 failed this metric
0.1.0 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.1.0 failed this metric
FC064: Ensure issues_url is set in metadata: rabbitmq_settings/metadata.rb:1
FC065: Ensure source_url is set in metadata: rabbitmq_settings/metadata.rb:1
FC066: Ensure chef_version is set in metadata: rabbitmq_settings/metadata.rb:1
Run with Foodcritic Version 14.3.0 with tags metadata,correctness ~FC031 ~FC045 and failure tags any
No Binaries Metric
0.1.0 passed this metric
Publish Metric
0.1.0 passed this metric
Supported Platforms Metric
0.1.0 passed this metric
Testing File Metric
0.1.0 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.1.0 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.1.0 failed this metric
FC065: Ensure source_url is set in metadata: rabbitmq_settings/metadata.rb:1
FC066: Ensure chef_version is set in metadata: rabbitmq_settings/metadata.rb:1
Run with Foodcritic Version 14.3.0 with tags metadata,correctness ~FC031 ~FC045 and failure tags any
0.1.0 passed this metric
Publish Metric
0.1.0 passed this metric
Supported Platforms Metric
0.1.0 passed this metric
Testing File Metric
0.1.0 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.1.0 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.1.0 passed this metric
0.1.0 passed this metric
Testing File Metric
0.1.0 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.1.0 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.1.0 failed this metric
0.1.0 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