Decompose glance_api_servicers input
Because of existing limitations for resource inputs connections, the glance_api_servicers upstream parameter was decomposed to host and port. Signed-off-by: Bogdan Dobrelya <bdobrelia@mirantis.com>
This commit is contained in:
parent
4d5e1f66dd
commit
8d1c48acfd
@ -10,6 +10,8 @@ source https://github.com/openstack/puppet-cinder/blob/5.1.0/manifests/glance.pp
|
||||
(optional) A list of the glance api servers available to cinder.
|
||||
Should be an array with [hostname|ip]:port
|
||||
Defaults to undef
|
||||
Note: for this resource, it is decomposed to *_host and *_port due to
|
||||
existing implementation limitations
|
||||
|
||||
``glance_api_version``
|
||||
(optional) Glance API version.
|
||||
|
@ -1,6 +1,5 @@
|
||||
$resource = hiera($::resource_name)
|
||||
|
||||
$glance_api_servers = $resource['input']['glance_api_servers']['value']
|
||||
$glance_api_version = $resource['input']['glance_api_version']['value']
|
||||
$glance_num_retries = $resource['input']['glance_num_retries']['value']
|
||||
$glance_api_insecure = $resource['input']['glance_api_insecure']['value']
|
||||
|
@ -3,9 +3,6 @@ handler: puppet
|
||||
puppet_module: cinder
|
||||
version: 1.0.0
|
||||
input:
|
||||
glance_api_servers:
|
||||
schema: str
|
||||
value: ''
|
||||
glance_api_version:
|
||||
schema: int
|
||||
value: 2
|
||||
|
@ -11,8 +11,8 @@ package { 'cinder':
|
||||
} ->
|
||||
|
||||
class {'cinder::scheduler':
|
||||
scheduler_driver => $scheduler_driver,
|
||||
package_ensure => $package_ensure,
|
||||
enabled => true,
|
||||
manage_service => true,
|
||||
scheduler_driver => $scheduler_driver,
|
||||
package_ensure => $package_ensure,
|
||||
enabled => true,
|
||||
manage_service => true,
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user