mirror of
https://github.com/saltstack-formulas/postgres-formula.git
synced 2025-04-15 17:20:25 +00:00
Adding pkg.install for postgres
This commit is contained in:
parent
635fa4772f
commit
d0fae966f4
1 changed files with 9 additions and 0 deletions
9
init.sls
Normal file
9
init.sls
Normal 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 %}
|
||||
|
Loading…
Add table
Reference in a new issue