2015-04-22 17:47:02 -05:00
|
|
|
{% import_yaml "postgres/defaults.yaml" as defaults %}
|
|
|
|
{% import_yaml "postgres/osmap.yaml" as osmap %}
|
2016-07-08 15:34:45 -05:00
|
|
|
{% import_yaml "postgres/codenamemap.yaml" as oscodenamemap %}
|
2014-12-31 16:58:41 -05:00
|
|
|
|
2016-09-05 13:49:33 +03:00
|
|
|
{% set postgres = salt['grains.filter_by'](
|
|
|
|
defaults,
|
2016-07-08 15:34:45 -05:00
|
|
|
merge=salt['grains.filter_by'](
|
2016-09-05 13:49:33 +03:00
|
|
|
osmap,
|
|
|
|
grain='os_family',
|
2016-07-08 15:34:45 -05:00
|
|
|
merge=salt['grains.filter_by'](
|
2016-09-05 13:49:33 +03:00
|
|
|
oscodenamemap,
|
|
|
|
grain='oscodename',
|
2017-01-03 11:54:00 +02:00
|
|
|
merge=salt['pillar.get']('postgres', {}),
|
2016-09-05 13:49:33 +03:00
|
|
|
),
|
|
|
|
),
|
|
|
|
base='postgres',
|
2016-07-08 15:34:45 -05:00
|
|
|
) %}
|