Adding pkg.install for postgres

This commit is contained in:
Joseph Hall 2013-07-16 10:23:53 -06:00
parent 635fa4772f
commit d0fae966f4

9
init.sls Normal file
View file

@ -0,0 +1,9 @@
# pkg.install
postgresql:
pkg.installed:
{% if grains['os_family'] == 'RedHat' %}
- name: postgresql
{% elif grains['os_family'] == 'Debian' %}
- name: postgresql-9.1
{% endif %}