small refactoring

This commit is contained in:
Roman Inflianskas 2015-11-23 13:46:35 +03:00
parent 4f3e1cb8db
commit b71fa41bfd
2 changed files with 3 additions and 3 deletions

View file

@ -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 }}

View file

@ -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 }}