formula-cli53/cli53/map.jinja

20 lines
448 B
Text
Raw Normal View History

2019-01-22 22:35:58 -05:00
{% 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)
%}