Code Review
/
apex-tripleo-heat-templates.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
review
|
tree
raw
|
inline
| side by side
Merge "Fixing resources path in OpenDaylight"
[apex-tripleo-heat-templates.git]
/
puppet
/
services
/
pacemaker
/
cinder-volume.yaml
diff --git
a/puppet/services/pacemaker/cinder-volume.yaml
b/puppet/services/pacemaker/cinder-volume.yaml
index
7b6e9a7
..
d91a018
100644
(file)
--- a/
puppet/services/pacemaker/cinder-volume.yaml
+++ b/
puppet/services/pacemaker/cinder-volume.yaml
@@
-4,6
+4,15
@@
description: >
OpenStack Cinder Volume service with Pacemaker configured with Puppet
parameters:
OpenStack Cinder Volume service with Pacemaker configured with Puppet
parameters:
+ ServiceNetMap:
+ default: {}
+ description: Mapping of service_name -> network name. Typically set
+ via parameter_defaults in the resource registry. This
+ mapping overrides those in ServiceNetMapDefaults.
+ type: json
+ DefaultPasswords:
+ default: {}
+ type: json
EndpointMap:
default: {}
description: Mapping of service endpoint -> protocol. Typically set
EndpointMap:
default: {}
description: Mapping of service endpoint -> protocol. Typically set
@@
-15,6
+24,8
@@
resources:
CinderVolumeBase:
type: ../cinder-volume.yaml
properties:
CinderVolumeBase:
type: ../cinder-volume.yaml
properties:
+ ServiceNetMap: {get_param: ServiceNetMap}
+ DefaultPasswords: {get_param: DefaultPasswords}
EndpointMap: {get_param: EndpointMap}
outputs:
EndpointMap: {get_param: EndpointMap}
outputs:
@@
-22,10
+33,14
@@
outputs:
description: Role data for the Cinder Volume role.
value:
service_name: cinder_volume
description: Role data for the Cinder Volume role.
value:
service_name: cinder_volume
+ monitoring_subscription: {get_attr: [CinderVolumeBase, role_data, monitoring_subscription]}
+ logging_source: {get_attr: [CinderVolumeBase, role_data, logging_source]}
+ logging_groups: {get_attr: [CinderVolumeBase, role_data, logging_groups]}
config_settings:
map_merge:
- get_attr: [CinderVolumeBase, role_data, config_settings]
- cinder::volume::manage_service: false
cinder::volume::enabled: false
config_settings:
map_merge:
- get_attr: [CinderVolumeBase, role_data, config_settings]
- cinder::volume::manage_service: false
cinder::volume::enabled: false
+ cinder::host: hostgroup
step_config:
include ::tripleo::profile::pacemaker::cinder::volume
step_config:
include ::tripleo::profile::pacemaker::cinder::volume