cookbook 'raid', '= 1.2.1'
raid (3) Versions 1.2.1 Follow1
Installs/Configures raid
cookbook 'raid', '= 1.2.1', :supermarket
knife supermarket install raid
knife supermarket download raid
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
1.2.1 failed this 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