engine: resources: file: Require paths to be absolute
This is a requirement of our file resource, so we should validate this and clearly express it in the documentation.
This commit is contained in:
@@ -68,7 +68,7 @@ identified by a trailing slash in their path name. File have no such slash.
|
||||
|
||||
It has the following properties:
|
||||
|
||||
* `path`: file path (directories have a trailing slash here)
|
||||
* `path`: absolute file path (directories have a trailing slash here)
|
||||
* `content`: raw file content
|
||||
* `state`: either `exists` (the default value) or `absent`
|
||||
* `mode`: octal unix file permissions
|
||||
|
||||
Reference in New Issue
Block a user