20 lines
458 B
Text
20 lines
458 B
Text
|
{% import_yaml slspath+"/defaults.yaml" as defaults %}
|
||
|
|
||
|
{% set traefik = salt['pillar.get']('traefik', default=defaults.traefik, merge=True) %}
|
||
|
|
||
|
{## Add any overrides based on CPU architecture. ##}
|
||
|
{% set traefik = salt['grains.filter_by']({
|
||
|
'armv6l': {
|
||
|
"arch": 'arm'
|
||
|
},
|
||
|
'armv7l': {
|
||
|
"arch": 'arm'
|
||
|
},
|
||
|
'x86_64': {
|
||
|
"arch": 'amd64'
|
||
|
}
|
||
|
}
|
||
|
,grain="cpuarch"
|
||
|
,merge=traefik)
|
||
|
%}
|