file_template_expand

This is a bundle to expand a template in a specific location.

⚙️ Compatible targets: Linux

⚠️ Deprecated: This method is deprecated and should not be used.

Parameters

NameDocumentation
tml_fileFile name (with full path within the framework) of the template file.

This parameter is required.
pathFile name (with full path) where to expand the template.

This parameter is required.
modeMode of destination file.

This parameter is required.
ownerOwner of destination file.

This parameter is required.
groupGroup of destination file.

This parameter is required.

Outcome conditions

You need to replace ${path} with its actual canonified value.

  • ✅ Ok: file_template_expand_${path}_ok
    • ☑️ Already compliant: file_template_expand_${path}_kept
    • 🟨 Repaired: file_template_expand_${path}_repaired
  • ❌ Error: file_template_expand_${path}_error

Example

method: file_template_expand
params:
  mode: VALUE
  owner: VALUE
  group: VALUE
  path: VALUE
  tml_file: VALUE