You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@trafficcontrol.apache.org by ne...@apache.org on 2017/03/08 23:15:46 UTC

[2/7] incubator-trafficcontrol git commit: Changed default port to 5432, the postgres default

Changed default port to 5432, the postgres default


Project: http://git-wip-us.apache.org/repos/asf/incubator-trafficcontrol/repo
Commit: http://git-wip-us.apache.org/repos/asf/incubator-trafficcontrol/commit/5fd9f4c5
Tree: http://git-wip-us.apache.org/repos/asf/incubator-trafficcontrol/tree/5fd9f4c5
Diff: http://git-wip-us.apache.org/repos/asf/incubator-trafficcontrol/diff/5fd9f4c5

Branch: refs/heads/master
Commit: 5fd9f4c56d0911a8f4ca12472f2ae0e0612a2e7e
Parents: 72f5b25
Author: PeterRyder <pe...@gmail.com>
Authored: Tue Feb 7 11:20:59 2017 -0500
Committer: Dave Neuman <ne...@apache.org>
Committed: Wed Mar 8 16:15:20 2017 -0700

----------------------------------------------------------------------
 traffic_ops/install/bin/input.json  | 2 +-
 traffic_ops/install/bin/postinstall | 4 ++--
 2 files changed, 3 insertions(+), 3 deletions(-)
----------------------------------------------------------------------


http://git-wip-us.apache.org/repos/asf/incubator-trafficcontrol/blob/5fd9f4c5/traffic_ops/install/bin/input.json
----------------------------------------------------------------------
diff --git a/traffic_ops/install/bin/input.json b/traffic_ops/install/bin/input.json
index f381a5f..c2a347c 100644
--- a/traffic_ops/install/bin/input.json
+++ b/traffic_ops/install/bin/input.json
@@ -13,7 +13,7 @@
       "config_var":"hostname"
     },
     {
-      "Database port number":"3306",
+      "Database port number":"5432",
       "config_var":"port"
     },
     {

http://git-wip-us.apache.org/repos/asf/incubator-trafficcontrol/blob/5fd9f4c5/traffic_ops/install/bin/postinstall
----------------------------------------------------------------------
diff --git a/traffic_ops/install/bin/postinstall b/traffic_ops/install/bin/postinstall
index 0ec3273..ec54221 100755
--- a/traffic_ops/install/bin/postinstall
+++ b/traffic_ops/install/bin/postinstall
@@ -371,7 +371,7 @@ sub getDefaults {
     return {
         $databaseConfFile => [
             {
-                "Database type" => "pg",
+                "Database type" => "Pg",
                 "config_var"    => "type"
             },
             {
@@ -383,7 +383,7 @@ sub getDefaults {
                 "config_var"                          => "hostname"
             },
             {
-                "Database port number" => "3306",
+                "Database port number" => "5432",
                 "config_var"           => "port"
             },
             {