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