You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@trafficcontrol.apache.org by "ASF GitHub Bot (JIRA)" <ji...@apache.org> on 2017/05/09 03:17:04 UTC
[jira] [Commented] (TC-278) postinstall -defaults should not run
carton
[ https://issues.apache.org/jira/browse/TC-278?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=16001963#comment-16001963 ]
ASF GitHub Bot commented on TC-278:
-----------------------------------
GitHub user dangogh opened a pull request:
https://github.com/apache/incubator-trafficcontrol/pull/557
[TC-278] postinstall -defaults option
postinstall -defaults and -h skip all pre-postinstall steps and just pass options to the _postinstall perl script. Also allow -defaults= to specify output file to write config.
You can merge this pull request into a Git repository by running:
$ git pull https://github.com/dangogh/incubator-trafficcontrol postinstall-bypass
Alternatively you can review and apply these changes as the patch at:
https://github.com/apache/incubator-trafficcontrol/pull/557.patch
To close this pull request, make a commit to your master/trunk branch
with (at least) the following in the commit message:
This closes #557
----
commit 88c43becfc3df0e3062a01ee62e7439ee3e5dfb2
Author: Dan Kirkwood <da...@gmail.com>
Date: 2017-05-08T23:23:12Z
bypass preprocessing for postinstall if -h or -defaults flags passed
commit 6cc07329b372654f6de77064caec8406e7023f33
Author: Dan Kirkwood <da...@gmail.com>
Date: 2017-05-09T00:06:48Z
fix string compare
----
> postinstall -defaults should not run carton
> -------------------------------------------
>
> Key: TC-278
> URL: https://issues.apache.org/jira/browse/TC-278
> Project: Traffic Control
> Issue Type: Improvement
> Components: Traffic Ops
> Affects Versions: 2.1.0
> Reporter: Dan Kirkwood
> Assignee: Dan Kirkwood
> Fix For: 2.1.0
>
>
> `postinstall -defaults` just writes out a .json file with the default values for customization. It shouldn't try to do anything else (e.g. check postgres installation, check for root, run carton, etc..)
--
This message was sent by Atlassian JIRA
(v6.3.15#6346)