File tree Expand file tree Collapse file tree 1 file changed +3
-19
lines changed Expand file tree Collapse file tree 1 file changed +3
-19
lines changed Original file line number Diff line number Diff line change @@ -83,31 +83,15 @@ packaged init script, job or unit.
8383 Further information: https://blog.tyk.nu/blog/freebsd-jails-and-sysv-ipc/
8484
8585
86- ``postgres.server.image ``
87- ^^^^^^^^^^^^^^^^^^^^^^^^^
88-
89- Installs the PostgreSQL server package on Linux, prepares the DB cluster and starts the server by issuing
90- raw ``pg_ctl `` command. The ``postgres:bake_image `` Pillar toggles this behaviour. For example:
86+ **Running inside a container ** (using Packer, Docker or similar tools), when OS ``init `` process
87+ is not available to start the service and enable it on "boot", set pillar value:
9188
9289.. code :: yaml
9390
9491 postgres :
9592 bake_image : True
9693
97- If set ``True ``, then it becomes possible to fully provision PostgreSQL with all supported entities
98- from ``postgres.manage `` state during the build ("baking") of AMI / VM / Container images (using
99- Packer, Docker or similar tools), i.e. when OS ``init `` process is not available to start the
100- service and enable it on "boot" of resulting appliance.
101-
102- Also it allows to make Docker images with PostgreSQL using functionality being available since Salt
103- 2016.11.0 release:
104-
105- .. code :: console
106-
107- salt 'minion.with.docker' dockerng.sls_build my-postgres base=centos/systemd mods=postgres
108-
109- If a lookup dictionary or Pillar has ``postgres:bake_image `` set ``False `` (this is default), it is
110- equivalent of applying ``postgres.server `` state.
94+ This toggles starting PostgreSQL daemon by issuing raw ``pg_ctl `` or ``pg_ctlcluster `` command.
11195
11296``postgres.upstream ``
11397^^^^^^^^^^^^^^^^^^^^^
You can’t perform that action at this time.
0 commit comments