Add new attribute "include" to "file"

This attribute have 3 values:
- "no": it's a normal file
- "name": the name is included in another template so it is generated before other templates
- "content": the content is included in another template so it is generated before the other templates and is not installed on the server

fixes #2
This commit is contained in:
2021-02-21 10:34:01 +01:00
parent 710711b253
commit 0be7a72d28
101 changed files with 631 additions and 377 deletions

View File

@ -0,0 +1 @@
non

View File

@ -0,0 +1 @@
include /etc/dir/incfile

View File

@ -0,0 +1 @@
non

View File

@ -0,0 +1,6 @@
C /etc/file 0644 root root - /usr/local/lib/etc/file
z /etc/file - - - - -
C /etc/file2 0644 root root - /usr/local/lib/etc/file2
z /etc/file2 - - - - -
C /etc/dir/incfile 0644 root root - /usr/local/lib/etc/dir/incfile
z /etc/dir/incfile - - - - -