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

raid (3) Versions 1.2.2

Installs/Configures raid

Policyfile
Berkshelf
Knife
cookbook 'raid', '~> 1.2.2', :supermarket
cookbook 'raid', '~> 1.2.2'
knife supermarket install raid
knife supermarket download raid
README
Dependencies
Changelog
Quality 17%

raid Cookbook

e.g.
This cookbook make raid1 on CentOS 7 , CentOS 6 , Ubuntu 12.04 , Ubuntu 14.04 , Ubuntu 16.04 , Debian 7 , Debian 8 with 2 disk configuration.

Requirements

cookbook mdadm

cookbook reboot-handler

Attributes

raid::default

default.part_sizes = [{
'boot_size' => "500M",
'root_size' => "50G",
'swap_size' => "4G"
}]

Usage

raid::default

knife role edit raid_custom

```{
"name": "raid_custom",
"description": "",
"json_class": "Chef::Role",
"default_attributes": {
},
"override_attributes": {
"part_sizes": {
"boot_size": "910M",
"root_size": "30G",
"swap_size": "4G"
}
},
"chef_type": "role",
"run_list": [
"recipe[raid]"
],
"env_run_lists": {

}
}
```

knife bootstrap 1.2.3.4 -r 'role[raid_custom]'

waiting when server back online and:

knife bootstrap 1.2.3.4 -r 'recipe[raid::after]'

raid::after

{
  "name":"my_node",
  "run_list": [
    "recipe[raid::after]"
  ]
}

License and Authors

Authors:

Max Nikolaev

Dependent cookbooks

mdadm = 1.0.1
reboot-handler >= 0.0.0

Contingent cookbooks

There are no cookbooks that are contingent upon this one.

raid CHANGELOG

This file is used to list changes made in each version of the raid cookbook.

0.1.0

  • [maxn] - Initial release of raid

Check the Markdown Syntax Guide for help with Markdown.

The Github Flavored Markdown page describes the differences between markdown on github and standard markdown.

Collaborator Number Metric
            

1.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
            

1.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
            

1.2.2 failed this metric

FC064: Ensure issues_url is set in metadata: raid/metadata.rb:1
FC065: Ensure source_url is set in metadata: raid/metadata.rb:1
FC066: Ensure chef_version is set in metadata: raid/metadata.rb:1
FC067: Ensure at least one platform supported in metadata: raid/metadata.rb:1
FC074: LWRP should use DSL to define resource's default action: raid/resources/centos6.rb:1
FC074: LWRP should use DSL to define resource's default action: raid/resources/centos7.rb:1
FC074: LWRP should use DSL to define resource's default action: raid/resources/debuntu.rb:1
FC074: LWRP should use DSL to define resource's default action: raid/resources/part.rb:1
FC085: Resource using new_resource.updated_by_last_action to converge resource: raid/providers/centos6.rb:3
FC085: Resource using new_resource.updated_by_last_action to converge resource: raid/providers/centos6.rb:10
FC085: Resource using new_resource.updated_by_last_action to converge resource: raid/providers/centos6.rb:16
FC085: Resource using new_resource.updated_by_last_action to converge resource: raid/providers/centos7.rb:3
FC085: Resource using new_resource.updated_by_last_action to converge resource: raid/providers/centos7.rb:9
FC085: Resource using new_resource.updated_by_last_action to converge resource: raid/providers/centos7.rb:15
FC085: Resource using new_resource.updated_by_last_action to converge resource: raid/providers/debuntu.rb:3
FC085: Resource using new_resource.updated_by_last_action to converge resource: raid/providers/debuntu.rb:9
FC085: Resource using new_resource.updated_by_last_action to converge resource: raid/providers/debuntu.rb:15
FC085: Resource using new_resource.updated_by_last_action to converge resource: raid/providers/part.rb:3
FC085: Resource using new_resource.updated_by_last_action to converge resource: raid/providers/part.rb:9
FC085: Resource using new_resource.updated_by_last_action to converge resource: raid/providers/part.rb:15
Run with Foodcritic Version 16.3.0 with tags metadata,correctness ~FC031 ~FC045 and failure tags any

No Binaries Metric
            

1.2.2 passed this metric

Testing File Metric
            

1.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
            

1.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