mirror of
https://github.com/saltstack-formulas/postgres-formula.git
synced 2025-04-17 10:10:31 +00:00
Making initdb command overridable
This commit is contained in:
parent
ec8d37e0e6
commit
40b3729341
2 changed files with 3 additions and 1 deletions
|
@ -30,7 +30,7 @@ postgresql-initdb:
|
|||
cmd.run:
|
||||
- cwd: /
|
||||
- user: root
|
||||
- name: service postgresql initdb
|
||||
- name: {{ postgres.commands.initdb }}
|
||||
- unless: test -f {{ postgres.conf_dir }}/postgresql.conf
|
||||
- env:
|
||||
LC_ALL: C.UTF-8
|
||||
|
|
|
@ -5,3 +5,5 @@ Arch: {}
|
|||
Debian:
|
||||
pkg_repo_file: /etc/apt/sources.list.d/pgdg.list
|
||||
pkg_libpq_dev: libpq-dev
|
||||
commands:
|
||||
initdb: service postgresql initdb
|
||||
|
|
Loading…
Add table
Reference in a new issue