+You can store an arbitrary path string in the `path` config (for example to reuse in `{{path}}` placeholders). On a host, prefer `setPathConfig()` over `set('path', …)` so the name reflects that this is the `path` *configuration* value (and not, for example, the deployment root), and so the value is typed as a string. IDEs or static analysis can then catch mistakes such as passing a number, which the generic `set()` method does not flag. In the recipe file (outside a host definition), use the global [set()](api.md#set) function—for example `set('path', '/var/www/myapp')`.
0 commit comments