fix(repo): check whether pkg_repo is set
This commit is contained in:
@@ -18,7 +18,7 @@ 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
|
||||
|
||||
Reference in New Issue
Block a user