diff --git a/postgres/server/init.sls b/postgres/server/init.sls index c6f15305..ce1d5753 100644 --- a/postgres/server/init.sls +++ b/postgres/server/init.sls @@ -20,6 +20,8 @@ postgresql-server: - pkgs: {{ pkgs | json }} {%- if postgres.use_upstream_repo == true %} - refresh: True + - require: + - pkgrepo: postgresql-repo {%- endif %} {%- if postgres.fromrepo %} - fromrepo: {{ postgres.fromrepo }} diff --git a/postgres/upstream.sls b/postgres/upstream.sls index db108ee4..0fe9ff9c 100644 --- a/postgres/upstream.sls +++ b/postgres/upstream.sls @@ -28,8 +28,6 @@ postgresql-repo: {{- format_kwargs(postgres.pkg_repo) }} - require: - pkg: postgresql-pkg-deps - - require_in: - - pkg: postgresql-server {%- else -%}