summaryrefslogtreecommitdiffstats
path: root/puppet/services/pacemaker/keystone.yaml
diff options
context:
space:
mode:
authorJenkins <jenkins@review.openstack.org>2016-04-11 12:51:12 +0000
committerGerrit Code Review <review@openstack.org>2016-04-11 12:51:12 +0000
commit2d4c27dac5efc33cdd547ad2bcdd88f28809052b (patch)
tree821b9a1d3b68888bb8c63d9bae909fea58f4eaa0 /puppet/services/pacemaker/keystone.yaml
parent7e31906d0185c68433215f265ae1ec1c485a3dd2 (diff)
parentde0ac7b2d6a2b58e2c39f06c8d4a72278b574201 (diff)
Merge "composable keystone services"
Diffstat (limited to 'puppet/services/pacemaker/keystone.yaml')
-rw-r--r--puppet/services/pacemaker/keystone.yaml34
1 files changed, 34 insertions, 0 deletions
diff --git a/puppet/services/pacemaker/keystone.yaml b/puppet/services/pacemaker/keystone.yaml
new file mode 100644
index 00000000..8fcab15f
--- /dev/null
+++ b/puppet/services/pacemaker/keystone.yaml
@@ -0,0 +1,34 @@
+heat_template_version: 2016-04-08
+
+description: >
+ OpenStack Keystone service with Pacemaker configured with Puppet
+
+parameters:
+ EndpointMap:
+ default: {}
+ description: Mapping of service endpoint -> protocol. Typically set
+ via parameter_defaults in the resource registry.
+ type: json
+ MysqlVirtualIPUri:
+ type: string
+ default: ''
+
+resources:
+
+ KeystoneServiceBase:
+ type: ../keystone.yaml
+ properties:
+ EndpointMap: {get_param: EndpointMap}
+ MysqlVirtualIPUri: {get_param: MysqlVirtualIPUri}
+
+outputs:
+ role_data:
+ description: Role data for the Keystone pacemaker role.
+ value:
+ config_settings:
+ map_merge:
+ - get_attr: [KeystoneServiceBase, role_data, config_settings]
+ #-
+ # custom keystone hiera goes here if we need it!?
+ step_config: |
+ include ::tripleo::profile::pacemaker::keystone