File tree 1 file changed +3
-19
lines changed 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.
83
83
Further information: https://blog.tyk.nu/blog/freebsd-jails-and-sysv-ipc/
84
84
85
85
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:
91
88
92
89
.. code :: yaml
93
90
94
91
postgres :
95
92
bake_image : True
96
93
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.
111
95
112
96
``postgres.upstream ``
113
97
^^^^^^^^^^^^^^^^^^^^^
You can’t perform that action at this time.
0 commit comments