Remove a duplicated listen_addresses="*" postgres configuration.
authorzdk <nx2zdk@gmail.com>
Fri, 3 Oct 2014 11:14:13 +0000 (18:14 +0700)
committerzdk <nx2zdk@gmail.com>
Fri, 3 Oct 2014 11:32:14 +0000 (18:32 +0700)
templates/postgres.template.yml

index cdc3f46a7ec328d1b922f75b3d312e492ca43286..a54d67225c74366d9f11c90bd13675867d265728 100644 (file)
@@ -105,12 +105,6 @@ run:
       from: /#?listen_addresses *=.*/
       to: "listen_addresses = '*'"
 
-  # listen on all interfaces
-  - replace:
-      filename: "/etc/postgresql/9.3/main/postgresql.conf"
-      from: /#?listen_addresses *=.*/
-      to: "listen_addresses = '*'"
-
   # sync commit off is faster and less spiky, also marginally less safe
   - replace:
       filename: "/etc/postgresql/9.3/main/postgresql.conf"