don't try to list all the service names

this function does not enforce the existing service names, so don't
document it as if it did.

Change-Id: I7acd5d439138601f925533168687351a394033bb
This commit is contained in:
Ionuț Arțăriși
2014-06-13 11:14:28 +02:00
parent c4716383e7
commit ecb926de82

View File

@@ -43,8 +43,7 @@ module ::Openstack # rubocop:disable Documentation
# Instead of specifying the verbose node['openstack']['db'][service],
# this shortcut allows the simpler and shorter db(service), where
# service is one of 'compute', 'image', 'identity', 'network', 'dashboard'
# 'orchestration', 'telemetry' 'block-storage' and 'volume'
# service can be: 'compute', 'image', 'identity', 'network', etc.
def db(service)
node['openstack']['db'][service]
rescue