Resource Type: mistral_workflow
- Defined in:
- lib/puppet/type/mistral_workflow.rb
- Providers:
-
openstack
Overview
This allows manifests to declare a workflow to be created or removed in Mistral.
mistral_workflow { “my_workflow”:
ensure => present,
definition_file => "/home/workflows/my_workflow.yaml",
is_public => yes,
}
Known problems / limitations:
* When creating a worflow, the name supplied is not used because mistral
will name the workflow according to its definition.
* You MUST provide the definition_file if you want to change any property
because that will cause the provider to run the 'workflow update'
command.
* DO NOT put multiple workflows in the definition_file. Although the
mistral client allows it, the provider does not support it.
* Ensure this is run on the same server as the mistral-api service.