feat(aa): refractor template to allow multiple templates.
This commit is contained in:
parent
890275fb22
commit
8ef858ad35
20 changed files with 347 additions and 214 deletions
|
|
@ -1,17 +0,0 @@
|
|||
{{- define "comment" -}}
|
||||
{{- if or .FileInherit .NoNewPrivs .Optional .Comment -}}
|
||||
{{- " #" -}}
|
||||
{{- end -}}
|
||||
{{- if .FileInherit -}}
|
||||
{{- " file_inherit" -}}
|
||||
{{- end -}}
|
||||
{{- if .NoNewPrivs -}}
|
||||
{{- " no new privs" -}}
|
||||
{{- end -}}
|
||||
{{- if .Optional -}}
|
||||
{{- " optional:" -}}
|
||||
{{- end -}}
|
||||
{{- with .Comment -}}
|
||||
{{ " " }}{{ . }}
|
||||
{{- end -}}
|
||||
{{- end -}}
|
||||
Loading…
Add table
Add a link
Reference in a new issue