diff options
author | Jenkins <jenkins@review.openstack.org> | 2016-05-20 11:04:34 +0000 |
---|---|---|
committer | Gerrit Code Review <review@openstack.org> | 2016-05-20 11:04:34 +0000 |
commit | e6683792ccf1a546b0a5025c1a8140d7e6becd9a (patch) | |
tree | 31e94412475bbae0b64a50e20ae330ce06cbde18 /puppet/services/pacemaker | |
parent | 172ded7a402e1ac28cc9601ab9faf815df98742e (diff) | |
parent | 565f0c509d2650ee283ad72bc5b280aca4e07144 (diff) |
Merge "Adds memcached as a composable service"
Diffstat (limited to 'puppet/services/pacemaker')
-rw-r--r-- | puppet/services/pacemaker/memcached.yaml | 31 |
1 files changed, 31 insertions, 0 deletions
diff --git a/puppet/services/pacemaker/memcached.yaml b/puppet/services/pacemaker/memcached.yaml new file mode 100644 index 00000000..306f805e --- /dev/null +++ b/puppet/services/pacemaker/memcached.yaml @@ -0,0 +1,31 @@ +heat_template_version: 2016-04-08 + +description: > + Mecached 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: + + MemcachedServiceBase: + type: ../memcached.yaml + +outputs: + role_data: + description: Role data for the Memcached pacemaker role. + value: + config_settings: + map_merge: + - get_attr: [MemcachedServiceBase, role_data, config_settings] + - memcached::service_manage: false + step_config: | + include ::tripleo::profile::pacemaker::memcached + |