Merge pull request #205 from noelmcloughlin/alts

Unique state ID and alternative for dev package
This commit is contained in:
Niels Abspoel
2018-05-10 11:31:48 +02:00
committed by GitHub
4 changed files with 23 additions and 4 deletions

View File

@@ -43,8 +43,9 @@ postgresql-server:
{%- for bin in postgres.server_bins %}
{%- set path = salt['file.join'](postgres.bin_dir, bin) %}
{{ bin }}:
postgresql-{{ bin }}-altinstall:
alternatives.install:
- name: {{ bin }}
- link: {{ salt['file.join']('/usr/bin', bin) }}
- path: {{ path }}
- priority: {{ postgres.linux.altpriority }}