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

rabbitmq_settings (1) Versions 0.1.0

Converge rabbitmq settings using lwrp. Depends on opscode-cookbook[rabbitmq].

Policyfile
Berkshelf
Knife
cookbook 'rabbitmq_settings', '~> 0.1.0', :supermarket
cookbook 'rabbitmq_settings', '~> 0.1.0'
knife supermarket install rabbitmq_settings
knife supermarket download rabbitmq_settings
README
Dependencies
Quality 17%

rabbitmq_settings cookbook

Build Status

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 16.3.0 with tags metadata,correctness ~FC031 ~FC045 and failure tags any

No Binaries 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