File tree 3 files changed +9
-6
lines changed
3 files changed +9
-6
lines changed Original file line number Diff line number Diff line change @@ -4,6 +4,9 @@ postgres:
4
4
use_upstream_repo : False
5
5
# Version to install from upstream repository (if upstream_repo: True)
6
6
version : ' 9.6'
7
+ # If automatic package installation fails, use `fromrepo` to specify the
8
+ # upstream repo to install packages from [#133, #185] (if upstream_repo: True)
9
+ fromrepo : ' jessie-pgdg'
7
10
8
11
# ## MACOS
9
12
# Set to 'postgresapp' OR 'homebrew' for MacOS
Original file line number Diff line number Diff line change 13
13
{# use upstream version if configured # }
14
14
{% if repo.use_upstream_repo == true %}
15
15
{% set version = repo.version %}
16
- {% set fromrepo = repo.fromrepo or name + '-pgdg' %}
16
+ {% set fromrepo = repo.fromrepo|default( name ~ '-pgdg', true) %}
17
17
{% else %}
18
18
{% set fromrepo = name %}
19
19
{% endif %}
38
38
39
39
{# use upstream version if configured # }
40
40
{% if repo.use_upstream_repo == true %}
41
- {% set fromrepo = repo.fromrepo or name + '-pgdg' %}
41
+ {% set fromrepo = repo.fromrepo|default( name ~ '-pgdg', true) %}
42
42
{% set version = repo.version %}
43
43
{% else %}
44
44
{% set fromrepo = name %}
Original file line number Diff line number Diff line change @@ -32,8 +32,8 @@ postgres:
32
32
url : https://github.com/PostgresApp/PostgresApp/releases/download/v2.1.1/Postgres-2.1.1.dmg
33
33
sum : sha256=ac0656b522a58fd337931313f09509c09610c4a6078fe0b8e469e69af1e1750b
34
34
homebrew :
35
- url :
36
- sum :
35
+ url : ' '
36
+ sum : ' '
37
37
dl :
38
38
opts : -s -L
39
39
interval : 60
@@ -57,7 +57,7 @@ postgres:
57
57
58
58
bake_image : False
59
59
60
- fromrepo :
60
+ fromrepo : ' '
61
61
62
62
users : {}
63
63
tablespaces : {}
@@ -67,4 +67,4 @@ postgres:
67
67
68
68
linux :
69
69
# Alternatives system are disabled by a 'altpriority=0' pillar.
70
- altpriority :
70
+ altpriority : 0
You can’t perform that action at this time.
0 commit comments