mirror of
https://github.com/saltstack-formulas/postgres-formula.git
synced 2025-04-17 10:10:31 +00:00
moved dev packages to seperate state
This commit is contained in:
parent
4656452825
commit
1b97d540ca
2 changed files with 13 additions and 12 deletions
13
postgres/dev.sls
Normal file
13
postgres/dev.sls
Normal 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 %}
|
|
@ -39,18 +39,6 @@ run-postgresql:
|
|||
- require:
|
||||
- pkg: {{ postgres.pkg }}
|
||||
|
||||
{% 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 %}
|
||||
|
||||
{% if postgres.pkg_contrib != False %}
|
||||
install-postgres-contrib:
|
||||
pkg.installed:
|
||||
|
|
Loading…
Add table
Reference in a new issue