add support to create symlinks

This commit is contained in:
nd 2021-04-23 21:17:05 +02:00
parent de7432a953
commit fecf438ec6
No known key found for this signature in database
GPG key ID: 21B5CD4DEE3670E9
2 changed files with 8 additions and 2 deletions

View file

@ -15,9 +15,12 @@ group: root
# permission bits, can be octal number or the string representation
mode: 0700
# can be 'present', 'absent', 'directory', or 'touch' (ensure file is created and set modification time to now, but do not change the content)
# can be 'present', 'absent', 'directory', or 'touch' (ensure file is created and set modification time to now, but do not change the content), 'link'
state: present
# target if state is 'link'
src: ''
# set the file content, mutaly exclusive with "template". Only handeled if the state if 'file'
content: ''