Adoptable Cookbooks List

Looking for a cookbook to adopt? You can now see a list of cookbooks available for adoption!
List of Adoptable Cookbooks

Supermarket Belongs to the Community

Supermarket belongs to the community. While Chef has the responsibility to keep it running and be stewards of its functionality, what it does and how it works is driven by the community. The chef/supermarket repository will continue to be where development of the Supermarket application takes place. Come be part of shaping the direction of Supermarket by opening issues and pull requests or by joining us on the Chef Mailing List.

Select Badges

Select Supported Platforms

Select Status

RSS

ganeti (9) Versions 2.0.0

Installs/Configures ganeti

Policyfile
Berkshelf
Knife
cookbook 'ganeti', '= 2.0.0', :supermarket
cookbook 'ganeti', '= 2.0.0'
knife supermarket install ganeti
knife supermarket download ganeti
README
Dependencies
Changelog
Quality 33%

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 to nil
  • ['ganeti']['hypervisor'] - Hypervisor to install and use. Defaults to kvm
  • ['ganeti']['master-node'] - FQDN of the host that will be set as the initial master and will initialize the cluster. A value of true is also valid but only used for testing purposes or single master clusters. Defaults to false.
  • ['ganeti']['bin-path'] - Path for the Ganeti binaries. Defaults to /usr/sbin/.
  • ['ganeti']['data_bag'] - Data bag name for RAPI users. Defaults to rapi_users.

Cluster Initialization attributes

  • ['ganeti']['cluster']['name'] - FQDN of the cluster. Must be resolvable. Defaults to nil.
  • ['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 to br0.
  • ['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 to bridged.
  • ['ganeti']['cluster']['nic']['link'] - Default NIC link for the guests on the cluster. Defaults to br0.
  • ['ganeti']['cluster']['extra-opts'] - Arbitrary list of commands to send to the gnt-cluster init prompt outside of options already sent from the other attributes. Defaults to nil.

Usage

ganeti::default

Include ganeti in your node's run_list:

{
  "run_list": [
    "recipe[ganeti::default]"
  ]
}

TODO

  • Add Debian 7 support

Contributing

  1. Fork the repository on Github
  2. Create a named feature branch (i.e. add-new-recipe)
  3. Write your change
  4. Write tests for your change (if applicable)
  5. Run the tests, ensuring they all pass
  6. 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