[ 
https://issues.apache.org/jira/browse/TC-6?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=15812134#comment-15812134
 ] 

ASF GitHub Bot commented on TC-6:
---------------------------------

Github user dewrich commented on a diff in the pull request:

    
https://github.com/apache/incubator-trafficcontrol/pull/126#discussion_r95186410
  
    --- Diff: traffic_ops/install/bin/input.json ---
    @@ -67,5 +67,102 @@
         },
         {
           "LDAP Search Base":"",
    -      "input.json"      169      L,
    -      4044      C
    \ No newline at end of file
    +      "config_var":"search_base"
    +    }
    +  ],
    +  "/opt/traffic_ops/install/data/json/users.json":[
    +    {
    +      "Administration username for Traffic Ops":"root",
    +      "config_var":"tmAdminUser"
    +    },
    +    {
    +      "Password for the admin user":"default",
    +      "config_var":"tmAdminPw",
    +      "hidden":"1"
    +    }
    +  ],
    +  "/opt/traffic_ops/install/data/profiles/":[
    +
    +  ],
    +  "/opt/traffic_ops/install/data/json/openssl_configuration.json":[
    +    {
    +      "Do you want to generate a certificate?":"yes",
    +      "config_var":"genCert"
    +    },
    +    {
    +      "Country Name (2 letter code)":"XX",
    +      "config_var":"country"
    +    },
    +    {
    +      "State or Province Name (full name)":"Default State",
    +      "config_var":"state"
    +    },
    +    {
    +      "Locality Name (eg, city)":"Default City",
    +      "config_var":"locality"
    +    },
    +    {
    +      "Organization Name (eg, company)":"Default Company Ltd",
    +      "config_var":"company"
    +    },
    +    {
    +      "Organizational Unit Name (eg, section)":"",
    +      "config_var":"org_unit"
    +    },
    +    {
    +      "Common Name (eg, your name or your server's 
hostname)":"example.com",
    +      "config_var":"common_name"
    +    },
    +    {
    +      "RSA Passphrase":"password",
    --- End diff --
    
    Passwords in files always worry me, we should maybe evaluate a command line 
option or have a separate file that can be stored locally to be safe.


> Traffic Ops postinstall: non-interactive configuration
> ------------------------------------------------------
>
>                 Key: TC-6
>                 URL: https://issues.apache.org/jira/browse/TC-6
>             Project: Traffic Control
>          Issue Type: Improvement
>          Components: Traffic Ops
>    Affects Versions: 1.8.0
>            Reporter: Dan Kirkwood
>            Assignee: Dan Kirkwood
>         Attachments: Automated_Postinstall_for_Traffic_Ops_v4.docx
>
>   Original Estimate: 48h
>  Remaining Estimate: 48h
>
> Traffic Ops postinstall currently requires interactive user input.   This 
> makes it difficult to install exactly the same way each time,  and can be 
> error prone.  It also makes installation within a docker container difficult.
> There should be a way to get this same input from a file that can be 
> configured ahead of time.



--
This message was sent by Atlassian JIRA
(v6.3.4#6332)

Reply via email to