cookbook 'ganeti', '= 1.4.2'
ganeti (9) Versions 1.4.2 Follow0
Installs/Configures ganeti
cookbook 'ganeti', '= 1.4.2', :supermarket
knife supermarket install ganeti
knife supermarket download ganeti
ganeti-cookbook
This cookbook is designed to install Ganeti.
Supported Platforms
- CentOS 6
- Ubuntu 12.04
- Ubuntu 14.04
Attributes
-
['ganeti']['version']
- Ganeti version to install. Defaults tonil
-
['ganeti']['hypervisor']
- Hypervisor to install and use. Defaults tokvm
-
['ganeti']['master-node']
- FQDN of the host that will be set as the initial master and will initialize the cluster. A value oftrue
is also valid but only used for testing purposes or single master clusters. Defaults tonil
. -
['ganeti']['bin-path']
- Path for the Ganeti binaries. Defaults to/usr/sbin/
. -
['ganeti']['data_bag']
- Data bag name for RAPI users. Defaults torapi_users
.
Cluster Initialization attributes
-
['ganeti']['cluster']['name']
- FQDN of the cluster. Must be resolvable. Defaults tonil
. -
['ganeti']['cluster']['disk-templates']
- Array of disk templates to be enabled. Defaults to[ 'plain', 'drbd' ]
. -
['ganeti']['cluster']['master-netdev']
- Master network device for the Ganeti cluster. Must exist before installing ganeti. Defaults tobr0
. -
['ganeti']['cluster']['enabled-hypervisors']
- An array of hypervisors to enable in the cluster. Defaults to[ 'kvm' ]
-
['ganeti']['cluster']['nic']['mode']
- Default NIC mode for the guests on the cluster. Defaults tobridged
. -
['ganeti']['cluster']['nic']['link']
- Default NIC link for the guests on the cluster. Defaults tobr0
. -
['ganeti']['cluster']['extra-opts']
- Arbitrary list of commands to send to thegnt-cluster init
prompt outside of options already sent from the other attributes. Defaults tonil
.
Usage
ganeti::default
Include ganeti
in your node's run_list
:
{ "run_list": [ "recipe[ganeti::default]" ] }
TODO
- Add Debian 7 support
Contributing
- Fork the repository on Github
- Create a named feature branch (i.e.
add-new-recipe
) - Write your change
- Write tests for your change (if applicable)
- Run the tests, ensuring they all pass
- Submit a Pull Request
License and Authors
Author:: Oregon State University (chef@osuosl.org)
Dependent cookbooks
apt >= 0.0.0 |
kernel-modules >= 0.0.0 |
lvm >= 0.0.0 |
yum >= 0.0.0 |
yum-elrepo >= 0.0.0 |
yum-epel >= 0.0.0 |
hostsfile >= 0.0.0 |
Contingent cookbooks
There are no cookbooks that are contingent upon this one.
1.4.2 (2017-07-20)
- Don't set default settings for instance-image
1.4.1 (2017-07-13)
- Don't manage ganeti-cron
1.4.0 (2017-07-13)
- instance_image_hook resource
1.3.1 (2017-07-13)
- Update lvm.conf and split by platform versions
1.3.0 (2017-07-13)
- Split out kvm code into its own recipe
1.2.1 (2017-07-13)
- Standardize kvm and ganeti attributes using case statements
1.2.0 (2017-07-13)
- Separate drbd into it's own recipe
1.1.1 (2017-07-12)
- Refactor yum/apt repository support
1.1.0 (2017-07-12)
- instance_image recipe imported from ganeti-instance-image
1.0.1 (2017-07-07)
- CentOS 7 support
1.0.0 (2017-07-05)
- Standards update and cleanup
0.1.0
Initial release of ganeti
-
Enhancements
- an enhancement
-
Bug Fixes
- a bug fix
Collaborator Number Metric
1.4.2 failed this metric
Failure: Cookbook has 1 collaborators. A cookbook must have at least 2 collaborators to pass this metric.
Contributing File Metric
1.4.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.4.2 failed this metric
FC066: Ensure chef_version is set in metadata: ganeti/metadata.rb:1
FC069: Ensure standardized license defined in metadata: ganeti/metadata.rb:1
FC108: Resource should not define a property named 'name': ganeti/resources/instance_image_hook.rb:4
FC108: Resource should not define a property named 'name': ganeti/resources/instance_image_instance.rb:4
FC108: Resource should not define a property named 'name': ganeti/resources/instance_image_subnet.rb:4
FC108: Resource should not define a property named 'name': ganeti/resources/instance_image_variant.rb:4
Run with Foodcritic Version 14.0.0 with tags metadata,correctness ~FC031 ~FC045 and failure tags any
No Binaries Metric
1.4.2 passed this metric
Testing File Metric
1.4.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.4.2 passed this metric
1.4.2 failed this metric
1.4.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.4.2 failed this metric
FC066: Ensure chef_version is set in metadata: ganeti/metadata.rb:1
FC069: Ensure standardized license defined in metadata: ganeti/metadata.rb:1
FC108: Resource should not define a property named 'name': ganeti/resources/instance_image_hook.rb:4
FC108: Resource should not define a property named 'name': ganeti/resources/instance_image_instance.rb:4
FC108: Resource should not define a property named 'name': ganeti/resources/instance_image_subnet.rb:4
FC108: Resource should not define a property named 'name': ganeti/resources/instance_image_variant.rb:4
Run with Foodcritic Version 14.0.0 with tags metadata,correctness ~FC031 ~FC045 and failure tags any
No Binaries Metric
1.4.2 passed this metric
Testing File Metric
1.4.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.4.2 passed this metric
1.4.2 failed this metric
FC069: Ensure standardized license defined in metadata: ganeti/metadata.rb:1
FC108: Resource should not define a property named 'name': ganeti/resources/instance_image_hook.rb:4
FC108: Resource should not define a property named 'name': ganeti/resources/instance_image_instance.rb:4
FC108: Resource should not define a property named 'name': ganeti/resources/instance_image_subnet.rb:4
FC108: Resource should not define a property named 'name': ganeti/resources/instance_image_variant.rb:4
Run with Foodcritic Version 14.0.0 with tags metadata,correctness ~FC031 ~FC045 and failure tags any
1.4.2 passed this metric
Testing File Metric
1.4.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.4.2 passed this metric
1.4.2 failed this metric
1.4.2 passed this metric