PostgreSQL is an extremely important relational database solution, and it has made its way into lot of important infrastructure setups and organizations. In this recipe, you will learn how to configure PostgreSQL by installing the respective packages, setting up the proper configuration file, and configuring the database service.
postgresql, and create a directory called
filesin this directory.
/opt/salt-cookbook/staging/postgresql/init.slsto have the following entries:
pg_repo_pkg: pkg.installed: - sources: - pgdg-centos94: http://yum.postgresql.org/9.4/redhat/rhel-6-x86_64/pgdg- ...