cookbook 'ganeti', '~> 4.0.0'
ganeti (9) Versions 4.0.0 Follow0
Installs/Configures ganeti
cookbook 'ganeti', '~> 4.0.0', :supermarket
knife supermarket install ganeti
knife supermarket download ganeti
ganeti-cookbook
This cookbook is designed to install Ganeti.
Supported Platforms
- CentOS 6
- CentOS 7
- 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 tofalse
. -
['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
lvm >= 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.
Collaborator Number Metric
4.0.0 failed this metric
Failure: Cookbook has 1 collaborators. A cookbook must have at least 2 collaborators to pass this metric.
4.0.0 failed this metric
Contributing File Metric
4.0.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
4.0.0 failed this metric
Foodcritic Metric
4.0.0 passed this metric
4.0.0 passed this metric
No Binaries Metric
4.0.0 passed this metric
4.0.0 passed this metric
Testing File Metric
4.0.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
4.0.0 failed this metric
Version Tag Metric
4.0.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
4.0.0 failed this metric