forked from stove/dataset
postgresql client for debian
This commit is contained in:
parent
349a035ad0
commit
0ac3e884e4
3 changed files with 14 additions and 1 deletions
|
@ -6,6 +6,7 @@
|
||||||
<file>/etc/pki/ca-trust/source/anchors/ca_PostgreSQL.crt</file>
|
<file>/etc/pki/ca-trust/source/anchors/ca_PostgreSQL.crt</file>
|
||||||
<file>/etc/pki/tls/certs/postgresql.crt</file>
|
<file>/etc/pki/tls/certs/postgresql.crt</file>
|
||||||
<file owner_type="variable" owner="pg_client_key_owner" mode="400">/etc/pki/tls/private/postgresql.key</file>
|
<file owner_type="variable" owner="pg_client_key_owner" mode="400">/etc/pki/tls/private/postgresql.key</file>
|
||||||
|
<file filelist="postgresql_debian" engine="none" source="sysuser-postgresql-client.conf">/sysusers.d/0postgresqlclient.conf</file>
|
||||||
</service>
|
</service>
|
||||||
</services>
|
</services>
|
||||||
<variables>
|
<variables>
|
||||||
|
@ -41,5 +42,9 @@
|
||||||
<param type="variable">pg_client_username</param>
|
<param type="variable">pg_client_username</param>
|
||||||
<target>pg_client_database</target>
|
<target>pg_client_database</target>
|
||||||
</fill>
|
</fill>
|
||||||
|
<condition name="disabled_if_not_in" source="os_name">
|
||||||
|
<param>Debian</param>
|
||||||
|
<target type="filelist">postgresql_debian</target>
|
||||||
|
</condition>
|
||||||
</constraints>
|
</constraints>
|
||||||
</rougail>
|
</rougail>
|
||||||
|
|
|
@ -1 +1,5 @@
|
||||||
PKG="$PKG postgresql"
|
if [ "$INSTALL_TOOL" = "dnf" ]; then
|
||||||
|
PKG="$PKG postgresql"
|
||||||
|
else
|
||||||
|
PKG="$PKG postgresql-client"
|
||||||
|
fi
|
||||||
|
|
|
@ -0,0 +1,4 @@
|
||||||
|
g ssl-cert 108
|
||||||
|
g postgres 109
|
||||||
|
u postgres 104:109 "PostgreSQL administrator" /var/lib/postgresql /bin/bash
|
||||||
|
m postgres ssl-cert
|
Loading…
Reference in a new issue