Skip to content

Commit

Permalink
Add sslmode = disable by default. Deleted an unnecessary command
Browse files Browse the repository at this point in the history
  • Loading branch information
PrajaktaPurohit committed Nov 25, 2019
1 parent 4924b18 commit ea46d76
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 4 deletions.
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
echo "deb http://apt.postgresql.org/pub/repos/apt/ xenial-pgdg main" > /etc/apt/sources.list.d/pgdg.list
wget --quiet https://www.postgresql.org/media/keys/ACCC4CF8.asc
apt-key add ACCC4CF8.asc
echo "hoping something along these lines will help: https://unix.stackexchange.com/questions/389156/how-to-fix-held-broken-packages"
echo "hoping something along these lines will help fix unmet and held deps error: https://unix.stackexchange.com/questions/389156/how-to-fix-held-broken-packages"
echo "configure"
dpkg --configure -a
echo "update"
Expand All @@ -14,12 +14,10 @@ echo "install ssl-cert"
apt-get install ssl-cert -y
echo "install sysstat"
apt-get install sysstat -y
echo "install -f1"
echo "install -f"
apt-get install -f
echo "install postgres"
apt-get install postgresql-9.6 -y
echo "install -f2"
apt-get install -f
echo "host all all $1/32 md5" >> /etc/postgresql/9.6/main/pg_hba.conf
echo "listen_addresses='*'" >> /etc/postgresql/9.6/main/postgresql.conf
service postgresql restart
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -15,6 +15,7 @@ postgresql['port'] = 5432
postgresql['db_superuser'] = "bofh"
postgresql['db_superuser_password'] = "i1uvd3v0ps"
postgresql['external'] = true
postgresql['sslmode'] = "disable"
opscode_erchef['db_pool_size'] = 10
oc_id['db_pool_size'] = 10
oc_bifrost['db_pool_size'] = 10

0 comments on commit ea46d76

Please sign in to comment.