aboutsummaryrefslogtreecommitdiffstats
path: root/puppet/services/pacemaker/keystone.yaml
diff options
context:
space:
mode:
authorDan Prince <dprince@redhat.com>2016-03-21 21:26:53 -0400
committerDan Prince <dprince@redhat.com>2016-04-09 08:36:04 -0400
commitde0ac7b2d6a2b58e2c39f06c8d4a72278b574201 (patch)
tree285fd3c24d505c541670db76e077b32ed1230583 /puppet/services/pacemaker/keystone.yaml
parent2198be81563cc68551fa8defbba36ae3bf98d222 (diff)
composable keystone services
Adds new puppet and puppet pacemaker specific services for Keystone. The puppet manifests for keystone now live in puppet-tripleo. Hiera settings are driven by the nested stack heat templates and used to control puppet-keystone and puppet-tripleo directly. The Pacemaker template extends the default keystone service and swaps in the pacemaker specific puppet-tripleo profile instead. Change-Id: I8b30438a27e9d5ec4e7d335e0bd1a931a20b03a2 Depends-On: I2faf5a78db802549053ec41678bf83bf28108189
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