file_from_string_mustache
Build a file from a mustache string.
⚙️ Compatible targets: Linux
Parameters
| Name | Documentation |
|---|---|
| template | String containing a template to be expanded. This parameter is required. |
| path | Destination file (absolute path on the target node. This parameter is required. |
Outcome conditions
You need to replace ${path} with its actual canonified value.
- ✅ Ok:
file_from_string_mustache_${path}_ok- ☑️ Already compliant:
file_from_string_mustache_${path}_kept - 🟨 Repaired:
file_from_string_mustache_${path}_repaired
- ☑️ Already compliant:
- ❌ Error:
file_from_string_mustache_${path}_error
Example
method: file_from_string_mustache
params:
path: VALUE
template: VALUE
Documentation
Build a file from a mustache string. Complete mustache documentation is available in the file_from_template_mustache method documentation.