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

Installs/Configures raid

Policyfile
Berkshelf
Knife
cookbook 'raid', '= 1.2.1', :supermarket
cookbook 'raid', '= 1.2.1'
knife supermarket install raid
knife supermarket download raid
README
Dependencies
Changelog
Quality 0%

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.1 failed this metric

Failure: Cookbook has 0 collaborators. A cookbook must have at least 2 collaborators to pass this metric.

Foodcritic Metric
            

1.2.1 failed this metric

FC019: Access node attributes in a consistent manner: /tmp/a5009673decc6ba7b890885c/raid/attributes/default.rb:1
FC023: Prefer conditional attributes: /tmp/a5009673decc6ba7b890885c/raid/recipes/after.rb:80
FC033: Missing template: /tmp/a5009673decc6ba7b890885c/raid/recipes/after.rb:56
FC033: Missing template: /tmp/a5009673decc6ba7b890885c/raid/recipes/after.rb:81
FC033: Missing template: /tmp/a5009673decc6ba7b890885c/raid/recipes/after.rb:89
FC033: Missing template: /tmp/a5009673decc6ba7b890885c/raid/recipes/default.rb:79
FC033: Missing template: /tmp/a5009673decc6ba7b890885c/raid/recipes/default.rb:85
FC033: Missing template: /tmp/a5009673decc6ba7b890885c/raid/recipes/default.rb:91
FC033: Missing template: /tmp/a5009673decc6ba7b890885c/raid/recipes/default.rb:168
FC033: Missing template: /tmp/a5009673decc6ba7b890885c/raid/recipes/default.rb:174
FC033: Missing template: /tmp/a5009673decc6ba7b890885c/raid/recipes/default.rb:184
FC033: Missing template: /tmp/a5009673decc6ba7b890885c/raid/recipes/default.rb:268
FC033: Missing template: /tmp/a5009673decc6ba7b890885c/raid/recipes/default.rb:274
FC033: Missing template: /tmp/a5009673decc6ba7b890885c/raid/recipes/default.rb:280
FC059: LWRP provider does not declare use_inline_resources: /tmp/a5009673decc6ba7b890885c/raid/providers/centos6.rb:1
FC059: LWRP provider does not declare use_inline_resources: /tmp/a5009673decc6ba7b890885c/raid/providers/centos7.rb:1
FC059: LWRP provider does not declare use_inline_resources: /tmp/a5009673decc6ba7b890885c/raid/providers/debuntu.rb:1
FC059: LWRP provider does not declare use_inline_resources: /tmp/a5009673decc6ba7b890885c/raid/providers/part.rb:1
FC064: Ensure issues_url is set in metadata: /tmp/a5009673decc6ba7b890885c/raid/metadata.rb:1
FC065: Ensure source_url is set in metadata: /tmp/a5009673decc6ba7b890885c/raid/metadata.rb:1