diff options
author | 2017-06-27 02:30:00 +0000 | |
---|---|---|
committer | 2017-06-27 02:30:00 +0000 | |
commit | e2da9f03382e5c3eb019ff2257beef723f75476c (patch) | |
tree | 53cd6441cb4ff1566ad0788a1f7d3cab0ea70114 /puppet/services | |
parent | eaa8092211a7cc805f320ad9aba830a5800d2bce (diff) | |
parent | 71f13388161cbab12fe284f7b251ca8d36f7635c (diff) |
Merge "Allows use of Mistral workflows during deployment steps"
Diffstat (limited to 'puppet/services')
-rw-r--r-- | puppet/services/README.rst | 24 |
1 files changed, 24 insertions, 0 deletions
diff --git a/puppet/services/README.rst b/puppet/services/README.rst index 7a18ef0c..d55414b7 100644 --- a/puppet/services/README.rst +++ b/puppet/services/README.rst @@ -95,6 +95,30 @@ are re-asserted when applying latter ones. 5) Service activation (Pacemaker) +It is also possible to use Mistral actions or workflows together with +a deployment step, these are executed before the main configuration run. +To describe actions or workflows from within a service use: + + * service_workflow_tasks: One or more workflow task properties + +which expects a map where the key is the step and the value a list of +dictionaries descrbing each a workflow task, for example:: + + service_workflow_tasks: + step2: + - name: echo + action: std.echo output=Hello + step3: + - name: external + workflow: my-pre-existing-workflow-name + input: + workflow_param1: value + workflow_param2: value + +The Heat guide for the `OS::Mistral::Workflow task property +<https://docs.openstack.org/developer/heat/template_guide/openstack.html#OS::Mistral::Workflow-prop-tasks>`_ +has more details about the expected dictionary. + Batch Upgrade Steps ------------------- |