cookbook 'openstack-clients', '= 0.2.3'
openstack-clients (6) Versions 0.2.3 Follow2
Installs/Configures openstack-clients
cookbook 'openstack-clients', '= 0.2.3', :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
Foodcritic Metric
0.2.3 failed this metric
FC031: Cookbook without metadata file: /tmp/cook/405658e2c6889c2d0b1a3e40/openstack-clients/metadata.rb:1
FC045: Consider setting cookbook name in metadata: /tmp/cook/405658e2c6889c2d0b1a3e40/openstack-clients/metadata.rb:1
0.2.3 failed this metric
FC045: Consider setting cookbook name in metadata: /tmp/cook/405658e2c6889c2d0b1a3e40/openstack-clients/metadata.rb:1