Set use_upstream_repo: True by default

This commit is contained in:
Denys Havrysh
2016-09-23 17:50:57 +03:00
parent b4edec9f43
commit 84713e8fea
6 changed files with 38 additions and 21 deletions

11
postgres/repo.yaml Normal file
View File

@@ -0,0 +1,11 @@
# This file allows to get PostgreSQL version and upstream repo settings
# early from Pillar to set correct lookup dictionaty items
{% import_yaml "postgres/defaults.yaml" as defaults %}
use_upstream_repo: {{ salt['pillar.get']('postgres:use_upstream_repo',
defaults.postgres.use_upstream_repo) }}
version: {{ salt['pillar.get']('postgres:version',
defaults.postgres.version) }}
# vim: ft=sls