Skip to content

Commit

Permalink
Merge pull request #309 from netmanagers/master
Browse files Browse the repository at this point in the history
  • Loading branch information
sticky-note authored Feb 26, 2021
2 parents 7d46b27 + 26b2233 commit ec5d66f
Show file tree
Hide file tree
Showing 4 changed files with 5 additions and 5 deletions.
2 changes: 1 addition & 1 deletion postgres/client/init.sls
Original file line number Diff line number Diff line change
Expand Up @@ -16,7 +16,7 @@ include:
postgresql-client-libs:
pkg.installed:
- pkgs: {{ pkgs | json }}
{%- if postgres.use_upstream_repo == true %}
{%- if 'pkg_repo' in postgres and postgres.use_upstream_repo == true %}
- refresh: True
- require:
- pkgrepo: postgresql-repo
Expand Down
2 changes: 1 addition & 1 deletion postgres/python.sls
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,7 @@ postgresql-python:
{% if postgres.fromrepo %}
- fromrepo: {{ postgres.fromrepo }}
{% endif %}
{% if postgres.use_upstream_repo == true %}
{% if 'pkg_repo' in postgres and postgres.use_upstream_repo == true %}
- refresh: True
- require:
- pkgrepo: postgresql-repo
Expand Down
4 changes: 3 additions & 1 deletion postgres/server/init.sls
Original file line number Diff line number Diff line change
Expand Up @@ -18,8 +18,10 @@ include:
postgresql-server:
pkg.installed:
- pkgs: {{ pkgs | json }}
{%- if postgres.use_upstream_repo == true %}
{%- if 'pkg_repo' in postgres and postgres.use_upstream_repo == true %}
- refresh: True
- require:
- pkgrepo: postgresql-repo
{%- endif %}
{%- if postgres.fromrepo %}
- fromrepo: {{ postgres.fromrepo }}
Expand Down
2 changes: 0 additions & 2 deletions postgres/upstream.sls
Original file line number Diff line number Diff line change
Expand Up @@ -28,8 +28,6 @@ postgresql-repo:
{{- format_kwargs(postgres.pkg_repo) }}
- require:
- pkg: postgresql-pkg-deps
- require_in:
- pkg: postgresql-server
{%- else -%}
Expand Down

0 comments on commit ec5d66f

Please sign in to comment.