cookbook 'ganeti', '= 2.3.0'
ganeti (9) Versions 2.3.0 Follow0
Installs/Configures ganeti
cookbook 'ganeti', '= 2.3.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.