mirror of
https://github.com/saltstack-formulas/postgres-formula.git
synced 2025-04-16 09:40:26 +00:00
small refactoring
This commit is contained in:
parent
4f3e1cb8db
commit
b71fa41bfd
2 changed files with 3 additions and 3 deletions
|
@ -10,7 +10,7 @@ install-postgresql-client:
|
|||
- name: {{ postgres.pkg_client }}
|
||||
- refresh: {{ postgres.use_upstream_repo }}
|
||||
|
||||
{% if postgres.pkg_libpq_dev != False %}
|
||||
{% if postgres.pkg_libpq_dev %}
|
||||
install-postgres-libpq-dev:
|
||||
pkg.installed:
|
||||
- name: {{ postgres.pkg_libpq_dev }}
|
||||
|
|
|
@ -1,12 +1,12 @@
|
|||
{% from "postgres/map.jinja" import postgres with context %}
|
||||
|
||||
{% if postgres.pkg_dev != False %}
|
||||
{% if postgres.pkg_dev %}
|
||||
install-postgres-dev-package:
|
||||
pkg.installed:
|
||||
- name: {{ postgres.pkg_dev }}
|
||||
{% endif %}
|
||||
|
||||
{% if postgres.pkg_libpq_dev != False %}
|
||||
{% if postgres.pkg_libpq_dev %}
|
||||
install-postgres-libpq-dev:
|
||||
pkg.installed:
|
||||
- name: {{ postgres.pkg_libpq_dev }}
|
||||
|
|
Loading…
Add table
Reference in a new issue