diff --git a/postgres/defaults.yaml b/postgres/defaults.yaml index 5c4c27e..a81db3c 100644 --- a/postgres/defaults.yaml +++ b/postgres/defaults.yaml @@ -17,3 +17,5 @@ postgres: tablespaces: {} postgresconf: "" pg_hba.conf: salt://postgres/pg_hba.conf + commands: + initdb: service postgresql initdb diff --git a/postgres/osmap.yaml b/postgres/osmap.yaml index d84b9a4..fee8384 100644 --- a/postgres/osmap.yaml +++ b/postgres/osmap.yaml @@ -5,5 +5,3 @@ Arch: {} Debian: pkg_repo_file: /etc/apt/sources.list.d/pgdg.list pkg_libpq_dev: libpq-dev - commands: - initdb: service postgresql initdb