2018-05-15 02:02:03 -04:00
|
|
|
{% import_yaml slspath+"/defaults.yaml" as defaults %}
|
|
|
|
|
|
|
|
{% set vault = salt['pillar.get']('vault', default=defaults.vault, merge=True) %}
|
|
|
|
|
|
|
|
{## Add any overrides based on CPU architecture. ##}
|
|
|
|
{% set vault = salt['grains.filter_by']({
|
|
|
|
'armv6l': {
|
|
|
|
"arch": 'arm'
|
|
|
|
},
|
|
|
|
'armv7l': {
|
|
|
|
"arch": 'arm'
|
|
|
|
},
|
|
|
|
'x86_64': {
|
|
|
|
"arch": 'amd64'
|
|
|
|
}
|
|
|
|
}
|
|
|
|
,grain="cpuarch"
|
|
|
|
,merge=vault)
|
|
|
|
%}
|