cookbook 'ganeti', '= 2.0.0'
ganeti (9) Versions 2.0.0 Follow0
Installs/Configures ganeti
cookbook 'ganeti', '= 2.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 oftrueis 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 initprompt 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.
2.0.0 (2018-08-21)
- Chef 13 compatibility fixes
1.5.1 (2018-01-02)
- Properly set /root/.ssh to 0700
1.5.0 (2018-01-02)
- Properly enable systemd services
1.4.3 (2017-11-30)
- Work around issue with --enabled-disk-templates on older versions of Ganeti
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
2.0.0 failed this metric
Failure: Cookbook has 1 collaborators. A cookbook must have at least 2 collaborators to pass this metric.
Contributing File Metric
2.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
Foodcritic Metric
2.0.0 failed this metric
FC009: Resource attribute not recognised: ganeti/recipes/_drbd.rb:32
Run with Foodcritic Version 14.3.0 with tags metadata,correctness ~FC031 ~FC045 and failure tags any
No Binaries Metric
2.0.0 passed this metric
Testing File Metric
2.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
Version Tag Metric
2.0.0 passed this metric
2.0.0 failed this metric
2.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
Foodcritic Metric
2.0.0 failed this metric
FC009: Resource attribute not recognised: ganeti/recipes/_drbd.rb:32
Run with Foodcritic Version 14.3.0 with tags metadata,correctness ~FC031 ~FC045 and failure tags any
No Binaries Metric
2.0.0 passed this metric
Testing File Metric
2.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
Version Tag Metric
2.0.0 passed this metric
2.0.0 failed this metric
Run with Foodcritic Version 14.3.0 with tags metadata,correctness ~FC031 ~FC045 and failure tags any
2.0.0 passed this metric
Testing File Metric
2.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
Version Tag Metric
2.0.0 passed this metric
2.0.0 failed this metric
2.0.0 passed this metric