cookbook 'openstack-clients', '~> 0.2.4'
openstack-clients (6) Versions 0.2.4 Follow2
Installs/Configures openstack-clients
cookbook 'openstack-clients', '~> 0.2.4', :supermarket
knife supermarket install openstack-clients
knife supermarket download openstack-clients
OpenStack-Clients Cookbook
This cookbook installs the Python Openstack Clients:
- python-novaclient
- python-keystoneclient
- python-ceilometerclient
- python-glanceclient
- python-swiftclient
- python-neutronclient
- python-cinderclient
- python-troveclient
- python-heatclient
- python-barbicanclient
- python-saharaclient
Requirements
Platforms
- Debian, Ubuntu
- CentOS 6+, Red Hat 6+, Fedora
Dependencies
- Python
Usage
You can include all clients easily by adding recipe[openstack-clients]
or you can include specific clients by calling their recipes directly recipe[openstack-clients::nova]
or recipe[openstack-clients::glance]
, etc.
OpenStackRC
To use openstack-clients::openstackrc
you can attributes to automatically configure environment variables when the script is called. Set these attributes in a wrapper cookbook, role or environment. In the future you will also be able to set these in a data bag.
default['openstack-clients']['openstackrc']['configs']['project1'] = {
OS_AUTH_URL: 'https://identity.project1.openstack.com:5443/v2.0',
OS_TENANT_ID: '29h8gwh0wg0h2th0',
OS_TENANT_NAME: 'project1',
OS_USERNAME: 'project1'
}
default['openstack-clients']['openstackrc']['configs']['project2'] = {
OS_AUTH_URL: 'https://identity.project2.openstack.com:5443/v2.0',
OS_TENANT_ID: 'y4j0erg0j40',
OS_TENANT_NAME: 'project2',
OS_USERNAME: 'project2'
}
Todo
- [ ] Add better documentation of Dependencies
- [ ] Add better tests for each recipe
- [ ] Add Spec tests
- [ ] Add openrc.sh configs
License & Authors
- Author: Mike Splain mikesplain@gmail.com
Dependent cookbooks
python ~> 1.4 |
apt ~> 2.6 |
yum-epel ~> 0.3 |
yum-centos ~> 0.3 |
yum ~> 3.4 |
build-essential ~> 2.1 |
Contingent cookbooks
There are no cookbooks that are contingent upon this one.
openstack-clients Cookbook
v0.2.2 (2014-06-22)
Fix .DS_Store crap
v0.2.0 (2014-06-20)
- First pass on Openstack openrc integration
- Fix rubocop errors
- Fix Foodcritic errors
v0.1.2 (2014-06-20)
- Add Travis
- Add Rubocop
- Cleanup Rubocop errors
- Cleanup FC errors
- Add Rakefile
v0.1.0 (2014-06-20)
- Initial Release
Collaborator Number Metric
0.2.4 failed this metric
Failure: Cookbook has 0 collaborators. A cookbook must have at least 2 collaborators to pass this metric.
Contributing File Metric
0.2.4 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.2.4 failed this metric
FC122: Use the build_essential resource instead of the recipe: openstack-clients/recipes/_common.rb:23
Run with Foodcritic Version 16.3.0 with tags metadata,correctness ~FC031 ~FC045 and failure tags any
No Binaries Metric
0.2.4 passed this metric
Testing File Metric
0.2.4 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.2.4 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.2.4 failed this metric
0.2.4 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.2.4 failed this metric
FC122: Use the build_essential resource instead of the recipe: openstack-clients/recipes/_common.rb:23
Run with Foodcritic Version 16.3.0 with tags metadata,correctness ~FC031 ~FC045 and failure tags any
No Binaries Metric
0.2.4 passed this metric
Testing File Metric
0.2.4 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.2.4 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.2.4 failed this metric
Run with Foodcritic Version 16.3.0 with tags metadata,correctness ~FC031 ~FC045 and failure tags any
0.2.4 passed this metric
Testing File Metric
0.2.4 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.2.4 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.2.4 failed this metric
0.2.4 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