Configure Puppet to allow access to CFSSL and Tajine databases from an IDE
TODO:
-
Configure Puppet to allow access to CFSSL and Tajine databases from an IDE
Temporary documentation to access the database from an IDE (pending the use of Puppet to do this):
vagrant ssh
sudo su -
ETC_PG_DIRECTORY="/etc/postgresql/14/main"
sed -i -e "s/listen_addresses = 'localhost'/listen_addresses = '*'/" "${ETC_PG_DIRECTORY}/postgresql.conf"
sed -i -e "s/#listen_addresses = /listen_addresses = /" "${ETC_PG_DIRECTORY}/postgresql.conf"
echo "host all all 10.0.2.2/32 md5" >>"${ETC_PG_DIRECTORY}/pg_hba.conf"
service postgresql restart
Edited by Fabrice Gangler