engine: resources: Adds symbolic mode to file resource

Adds a symbolic parsing function to the util package for parsing in the
file resource.
This commit is contained in:
Derek Buckley
2019-10-15 20:57:59 -04:00
committed by James Shubin
parent 3e16d1da46
commit 83a747794e
4 changed files with 416 additions and 6 deletions

View File

@@ -72,7 +72,7 @@ It has the following properties:
* `path`: absolute file path (directories have a trailing slash here)
* `state`: either `exists`, `absent`, or undefined
* `content`: raw file content
* `mode`: octal unix file permissions
* `mode`: octal unix file permissions or symbolic string
* `owner`: username or uid for the file owner
* `group`: group name or gid for the file group