Merge pull request #76 from tenso-m/refactoring

small refactoring
This commit is contained in:
puneet kandhari
2015-11-23 06:52:42 -06:00
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 }}