mirror of
https://github.com/saltstack-formulas/postgres-formula.git
synced 2025-04-17 10:10:31 +00:00
fix(archlinux): avoid nonetype error
This commit is contained in:
parent
8b44c068fc
commit
0a6cf8fefa
1 changed files with 1 additions and 1 deletions
|
@ -62,7 +62,7 @@ RedHat:
|
|||
gpgkey: 'https://download.postgresql.org/pub/repos/yum/RPM-GPG-KEY-PGDG-{{ release }}'
|
||||
baseurl: 'https://download.postgresql.org/pub/repos/yum/{{ repo.version }}/redhat/rhel-$releasever-$basearch'
|
||||
|
||||
{%- if grains.get('osmajorrelease') >= 7 %}
|
||||
{%- if grains.get('osmajorrelease', 0) >= 7 %}
|
||||
pkg_python: python3-psycopg2
|
||||
{%- endif %}
|
||||
|
||||
|
|
Loading…
Add table
Reference in a new issue