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