Initial commit
Updated attributes to get tests to pass

I am unsure if this is a chefspec issue or an issue with the way
we were shortcutting node names via `ep = default["openstack"]["endpoints"]`.
The node object continued to nest each attribute under the one previously
defined via `ep`.

So you would end up with image-registry closing out the nested hash, since
it was the last attribute defined.
`"image-registry"=>{"path"=>"/v2"}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}`
Merge pull request #1 from retr0h/working

Updated attributes to get tests to pass
Add some more spec tests...
s/uri_from_mash/uri_from_hash/
Merge pull request #1 from jaypipes/working

Add some more spec tests...
Adds some more ChefSpec tests to cover Openstack::endpoints
Merge pull request #2 from jaypipes/working

Adds some more ChefSpec tests to cover Openstack::endpoints
Adds db information lookup to defaults and library

Add node['openstack']['db'] array of db info hashes
Add ::Openstack::db() and ::Openstack::db_uri() methods
to the library.
Add support for SQLite and make string interpolation 'rubified'
Ooops, missing end block
Merge pull request #3 from jaypipes/common-recipe

Adds db information lookup to defaults and library
Adds db_create_with_user library routine

* Intended to remove the need for osops-utils::database
* Support PostgreSQL and MySQL and does not use the
  mysql-master chef role lookup
Merge pull request #4 from jaypipes/working

Adds db_create_with_user library routine
Typo in db_create_with_user fixed
Merge pull request #5 from jaypipes/working

Typo in db_create_with_user fixed
Change ports from integers to strings...

This needs to be done because the keystone and database
resource providers are retarded and can't handle non-strings
for ports... barfin this:

Chef::Exceptions::ValidationFailed
----------------------------------
Option auth_port must be a kind of String!  You passed 5000.

Cookbook Trace:
---------------
/var/chef/cache/cookbooks/nova/recipes/api-os-compute.rb:67:in `block in from_file'
/var/chef/cache/cookbooks/nova/recipes/api-os-compute.rb:65:in `from_file'

Relevant File Content:
----------------------
/var/chef/cache/cookbooks/nova/recipes/api-os-compute.rb:

60:  identity_admin_endpoint = endpoint('identity-admin')
61:  identity_endpoint = endpoint('identity-api')
62:  nova_api_endpoint = endpoint('compute-api')
63:
64:  # Register Service Tenant
65:  keystone_register "Register Service Tenant" do
66:    auth_host identity_admin_endpoint["host"]
67>>   auth_port identity_admin_endpoint["port"]
68:    auth_protocol identity_admin_endpoint["scheme"]
69:    api_ver identity_admin_endpoint["path"]
70:    auth_token keystone["admin_token"]
71:    tenant_name node["nova"]["service_tenant_name"]
72:    tenant_description "Service Tenant"
73:    tenant_enabled "true" # Not required as this is the default
74:    action :create_tenant
75:  end
76:
Merge pull request #6 from jaypipes/working

Change ports from integers to strings...
Grab superuser/pass from the underlying db-specific cookbook

* No longer pass in superuser/pass to the db_create_with_user
  library routine. Grab that from the underlying db-specific
  cookbook
* Updates doc on routine with links to the related db cookbooks
  to the code that sets this information
String to symbol change in connection_info and fix small typo in doc header