cookbook 'ovirt', '~> 0.1.1'
ovirt (2) Versions 0.1.1 Follow4
Installs/Configures ovirt
cookbook 'ovirt', '~> 0.1.1', :supermarket
knife supermarket install ovirt
knife supermarket download ovirt
ovirt Cookbook
The oVirt cookbook allows you to easily install oVirt engine and oVirt node with Chef.
oVirt is a virtualization management application. That means that you can use the oVirt management interface (the oVirt engine) to manage hardware nodes, storage and network resources, and to deploy and monitor virtual machines running in your data center. The ovirt module allows you to install the oVirt Engine (management host) and oVirt Node (hyperviser host) software on RedHat-based distros.
Requirements
RHEL and CentOS hosts need to have EPEL configured in order to fulfill oVirt rpm dependencies.
Supported Operating Systems
- CentOS
- RHEL
- Fedora
Attributes
default
node['ovirt']['ovirt_release_rpm_url']
- This setting can be used to override the default oVirt release RPM URL of http://ovirt.org/releases/ovirt-release-$OS.noarch.rpm.node['ovirt']['ovirt_release_base_url']
- This setting can be used to override the default oVirt release base URL of http://ovirt.org/releases.node['ovirt']['application_mode']
- This setting can be used to override the default oVirt application mode of both. Valid options are both, virt, gluster.node['ovirt']['storage_type']
- This setting can be used to override the default oVirt storage type of nfs. Valid options are nfs, fc, iscsi, and posixfs.node['ovirt']['organization']
- This setting can be used to override the default oVirt PKI organization of localdomain.node['ovirt']['nfs_config_enabled']
- This setting can be used to override the default oVirt nfs configuration of true. Valid options are true and false.node['ovirt']['iso_domain_name']
- This setting can be used to override the default ISO Domain Name of ISO_DOMAIN.node['ovirt']['iso_domain_mount_point']
- This setting can be used to override the default ISO Domain Mount Point of /var/lib/exports/iso.node['ovirt']['admin_password']
- This setting can be used to override the default oVirt admin password of admin.node['ovirt']['db_user']
- This setting can be used to override the default database user of engine.node['ovirt']['db_password']
- This setting can be used to override the default database password of dbpassword.node['ovirt']['db_host']
- This setting can be used to override the default database host of localhost.node['ovirt']['db_port']
- This setting can be used to override the default database port of 5432.node['ovirt']['firewall_manager']
- This setting can be used to override the default firewall manager. The module uses iptables for RHEL and CentOS and firewalld for Fedora by default. Valid options are iptables and firewalld.node['ovirt']['answers_file']
- This setting can be used to override the default value of /var/lib/ovirt-engine/setup/answers/answers-from-chef.
Usage
Creating an oVirt Engine
To create an oVirt Engine include ovirt::engine
in your node's run_list
:
{ "name":"my_node", "run_list": [ "recipe[ovirt::engine]" ] }
The oVirt Engine is now up and running. You can log in to the oVirt Engine's web administration portal with the username admin in the internal domain.
Creating an oVirt Node
To create an oVirt Node include ovirt::node
in your node's run_list
:
{ "name":"my_node", "run_list": [ "recipe[ovirt::node]" ] }
At this point, you are able to add the node to a host cluster using an oVirt Engine.
Contributing
-
Fork the repository on Github.
$ git clone git@github.com:jasonc/chef-ovirt.git
Create a named feature branch (like
add_component_x
)Write you change
Write tests for your change (if applicable)
Run the tests, ensuring they all pass
Submit a Pull Request using Github
License and Authors
Author:: Jason Cannon
Dependent cookbooks
This cookbook has no specified dependencies.
Contingent cookbooks
There are no cookbooks that are contingent upon this one.
Collaborator Number Metric
0.1.1 failed this metric
Failure: Cookbook has 1 collaborators. A cookbook must have at least 2 collaborators to pass this metric.
Contributing File Metric
0.1.1 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
0.1.1 failed this metric
FC009: Resource attribute not recognised: ovirt/recipes/engine.rb:21
FC064: Ensure issues_url is set in metadata: ovirt/metadata.rb:1
FC065: Ensure source_url is set in metadata: ovirt/metadata.rb:1
FC066: Ensure chef_version is set in metadata: ovirt/metadata.rb:1
FC068: Ensure license is set in metadata: ovirt/metadata.rb:1
FC069: Ensure standardized license defined in metadata: ovirt/metadata.rb:1
Run with Foodcritic Version 16.3.0 with tags metadata,correctness ~FC031 ~FC045 and failure tags any
No Binaries Metric
0.1.1 passed this metric
Testing File Metric
0.1.1 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
0.1.1 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
0.1.1 failed this metric
0.1.1 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
0.1.1 failed this metric
FC009: Resource attribute not recognised: ovirt/recipes/engine.rb:21
FC064: Ensure issues_url is set in metadata: ovirt/metadata.rb:1
FC065: Ensure source_url is set in metadata: ovirt/metadata.rb:1
FC066: Ensure chef_version is set in metadata: ovirt/metadata.rb:1
FC068: Ensure license is set in metadata: ovirt/metadata.rb:1
FC069: Ensure standardized license defined in metadata: ovirt/metadata.rb:1
Run with Foodcritic Version 16.3.0 with tags metadata,correctness ~FC031 ~FC045 and failure tags any
No Binaries Metric
0.1.1 passed this metric
Testing File Metric
0.1.1 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
0.1.1 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
0.1.1 failed this metric
FC064: Ensure issues_url is set in metadata: ovirt/metadata.rb:1
FC065: Ensure source_url is set in metadata: ovirt/metadata.rb:1
FC066: Ensure chef_version is set in metadata: ovirt/metadata.rb:1
FC068: Ensure license is set in metadata: ovirt/metadata.rb:1
FC069: Ensure standardized license defined in metadata: ovirt/metadata.rb:1
Run with Foodcritic Version 16.3.0 with tags metadata,correctness ~FC031 ~FC045 and failure tags any
0.1.1 passed this metric
Testing File Metric
0.1.1 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
0.1.1 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
0.1.1 failed this metric
0.1.1 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