moved dev packages to seperate state

This commit is contained in:
Dominic Ferrantelli
2015-05-05 15:40:49 -07:00
parent 4656452825
commit 1b97d540ca
2 changed files with 13 additions and 12 deletions

13
postgres/dev.sls Normal file
View File

@@ -0,0 +1,13 @@
{% from "postgres/map.jinja" import postgres with context %}
{% if postgres.pkg_dev != False %}
install-postgres-dev-package:
pkg.installed:
- name: {{ postgres.pkg_dev }}
{% endif %}
{% if postgres.pkg_libpq_dev != False %}
install-postgres-libpq-dev:
pkg.installed:
- name: {{ postgres.pkg_libpq_dev }}
{% endif %}