tripleo-heat-templates/docker
Saravanan KR a096ddab34 Add role specific information to the service template
When a service is enabled on multiple roles, the parameters for the
service will be global. This change enables an option to provide
role specific parameter to services and other templates.

Two new parameters - RoleName and RoleParameters, are added to the
service template. RoleName provides the role name of on which the
current instance of the service is being applied on. RoleParameters
provides the list of parameters which are configured specific to the
role in the environment file, like below:

  parameters_default:
      # Default value for applied to all roles
      NovaReservedHostMemory: 2048
      ComputeDpdkParameters:
          # Applied only to ComputeDpdk role
          NovaReservedHostMemory: 4096

In above sample, the cluster contains 2 roles - Compute, ComputeDpdk.
The values of ComputeDpdkParameters will be passed on to the templates
as RoleParameters while creating the stack for ComputeDpdk role. The
parameter which supports role specific configuration, should find the
parameter first in in the RoleParameters list, if not found, then the
default (for all roles) should be used.
Implements: blueprint tripleo-derive-parameters

Change-Id: I72376a803ec6b2ed93903cc0c95a6ffce718b6dc
2017-05-15 10:06:46 +05:30
..
firstboot Enable Docker service for Compute role 2017-03-08 08:57:00 +01:00
services Add role specific information to the service template 2017-05-15 10:06:46 +05:30
README-containers.md Containerized Services for Composable Roles 2016-11-22 11:42:49 +01:00
create-config-dir.sh docker: new hybrid deployment architecture and configuration 2017-02-15 12:56:44 -05:00
docker-puppet.py Make docker-puppet.sh a static file. 2017-05-10 09:21:38 +12:00
docker-steps.j2 Fix dependencies for PreConfig/PostConfig resources 2017-04-25 15:13:38 +00:00
docker-toool Write out a json file containing container startup info and create tool to use it. 2017-02-22 18:29:51 +00:00
post-upgrade.j2.yaml Enable composable upgrades for docker service templates 2017-03-06 15:53:46 +00:00
post.j2.yaml Enable composable upgrades for docker service templates 2017-03-06 15:53:46 +00:00