v1.1.0
版本发布时间: 2019-10-31 19:36:10
vitabaks/postgresql_cluster最新发布版本:2.0.0(2024-08-19 02:48:10)
New features and Improvements:
-
Installation method without a proxy server (offline installation).
By default, it is assumed that you will use a proxy server (
proxy_env
variable) to automatically download the necessary packages and their dependencies from external repositories. Сurrently, you can also use your own repository for extra packages. You need to preload all the packages and change URLs. For your convenience, all URLs have been moved to the vars/Debian.yml or vars/RedHat.yml variable files. Variables:etcd_package_repo
,vip_manager_package_repo
,confd_package_repo
andpip_package_repo
,patroni_pip_requirements_repo
,patroni_pip_package_repo
. -
Installation method without a repository (optional).
If you don't have your own repository .... or you want to create something like a "offline installer package": You can download the necessary packages into postgresql_cluster/files/ directory. Packages from this directory will be used for installation. Variables:
installation_method
,<variable_name>_file
andpackages_from_file
. -
Support for installing patroni from rpm/deb packages (optional).
By default, Patroni packages will be installed from the pip repository. Сurrently, you also have the option of choosing an patroni installation method using the rpm or deb package. Variables:
patroni_installation_method
and 'patroni_rpm_package_repo
(for Redhat) orpatroni_deb_package_repo
(for Debian). -
Install rpm/deb HAProxy 1.8 packages by default, instead of building from source.
Сurrently, HAProxy will be is installed from rpm/deb packages by default. The ability to install from source codes is saved. Debian 8/9/10 - the haproxy version 1.8 (LTS) will be installed from the haproxy.debian.net repository. Ubuntu <=18.04 - the haproxy version 1.8 (LTS) will be installed from the ppa:vbernat/haproxy-1.8 repository. RedHat/CentOS/OracleLinux 7 - the haproxy version 1.8 (LTS) will be installed from the "rh-haproxy18" package from the Software Collections (SCL) repository. Variables:
haproxy_installation_method
andhaproxy_install_repo
. -
Support for build and install HAProxy version 2.0 from source.
You can also install the latest LTS version of HAProxy if you need it. Variables:
haproxy_major
,haproxy_version
,lua_src_repo
,haproxy_src_repo
,haproxy_compile_requirements
. -
Configure SELinux for haproxy and keepalived services (if it is enabled).
If the system has SElinux enabled in enforcing mode, the problem may have difficulty running scripts, accessing configuration files, etc. Сurrently, we set the haproxy_t and keepalived_t domains as permissive.