Github user dewrich commented on the issue:

    https://github.com/apache/incubator-trafficcontrol/pull/729
  
    So, instead of using your own config, why not just use the existing 
`/opt/traffic_ops/app/conf/production/database.conf`.  Then you wouldn't have 
to prefix each database property with `db_`.  Also, postinstall sets up that 
file after the installer Q&A, so then you wouldn't have to touch poinstall
    
    {
      "port": "",
      "db_user": "bill",
      "db_pass": "thelizard",
      "db_server": "db.trafficops.example.net",
      "db_name": "trafficops",
      "db_ssl": true,
      "to_secret": "walrus",
      "to_url": "https://trafficops.example.net:60443";,
      "no_auth": false,
      "cert_path": "/opt/traffic_ops/cert",
      "key_path": "/opt/traffic_ops/key"
    }
    [root@localhost init.d]# cat 
/opt/traffic_ops/app/conf/production/database.conf
    {
       "password" : "twelve",
       "user" : "traffic_ops",
       "type" : "Pg",
       "hostname" : "localhost",
       "description" : "Pg database on localhost:5432",
       "port" : "5432",
       "dbname" : "traffic_ops"
    }
    
    If you need properties that aren't in that config then you could use and 
groom your own


---
If your project is set up for it, you can reply to this email and have your
reply appear on GitHub as well. If your project does not have this feature
enabled and wishes so, or if the feature is enabled but not working, please
contact infrastructure at infrastruct...@apache.org or file a JIRA ticket
with INFRA.
---

Reply via email to