feat(mise): Allow to declare bootstrap package per host
Whitout this, you can only specify packages per os (distrib).
This commit is contained in:
1 parent
06fb51ab5e
commit
a4e2eadbe9
2 files changed
+16
No files matched your search
@@ -41,3 +41,15 @@
|
||||
{{- end }}
|
||||
|
||||
{{- end }}
|
||||
|
||||
{{/* Host specific */}}
|
||||
{{- $hostname := output "hostname" | trim -}}
|
||||
{{- $currentHost := index .hosts $hostname -}}
|
||||
{{- if $currentHost }}
|
||||
{{- if hasKey $currentHost "packages" }}
|
||||
# Paquets personnalisés pour l'hôte {{ $hostname }}
|
||||
{{- range $currentHost.packages }}
|
||||
"{{- . }}" = "latest"
|
||||
{{- end }}
|
||||
{{- end }}
|
||||
{{- end }}
|
||||
Reference in new issue
Block a user