You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@trafficcontrol.apache.org by mi...@apache.org on 2016/11/29 17:00:23 UTC
[1/2] incubator-trafficcontrol git commit: [TC-54] - Obtain the ATS
user's UID after package installation during ORT.
Repository: incubator-trafficcontrol
Updated Branches:
refs/heads/master 033552978 -> 8fb497d60
[TC-54] - Obtain the ATS user's UID after package installation during ORT.
Project: http://git-wip-us.apache.org/repos/asf/incubator-trafficcontrol/repo
Commit: http://git-wip-us.apache.org/repos/asf/incubator-trafficcontrol/commit/e4e95e79
Tree: http://git-wip-us.apache.org/repos/asf/incubator-trafficcontrol/tree/e4e95e79
Diff: http://git-wip-us.apache.org/repos/asf/incubator-trafficcontrol/diff/e4e95e79
Branch: refs/heads/master
Commit: e4e95e79d4d6b864be336efcfbb81baa67f42484
Parents: 0335529
Author: Jeff Elsloo <je...@cable.comcast.com>
Authored: Mon Nov 28 15:52:20 2016 -0700
Committer: Jeremy Mitchell <mi...@gmail.com>
Committed: Tue Nov 29 09:59:48 2016 -0700
----------------------------------------------------------------------
traffic_ops/bin/traffic_ops_ort.pl | 4 ++--
1 file changed, 2 insertions(+), 2 deletions(-)
----------------------------------------------------------------------
http://git-wip-us.apache.org/repos/asf/incubator-trafficcontrol/blob/e4e95e79/traffic_ops/bin/traffic_ops_ort.pl
----------------------------------------------------------------------
diff --git a/traffic_ops/bin/traffic_ops_ort.pl b/traffic_ops/bin/traffic_ops_ort.pl
index 0d9f018..8a75bdf 100755
--- a/traffic_ops/bin/traffic_ops_ort.pl
+++ b/traffic_ops/bin/traffic_ops_ort.pl
@@ -172,7 +172,6 @@ my %install_tracker;
my $config_dirs = undef;
my $cfg_file_tracker = undef;
my $ssl_tracker = undef;
-my $ats_uid = getpwnam("ats");
####-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-####
#### Start main flow
@@ -198,7 +197,8 @@ if ( $script_mode == $BADASS || $script_mode == $INTERACTIVE || $script_mode ==
my $header_comment = &get_header_comment($traffic_ops_host);
&process_packages( $hostname_short, $traffic_ops_host );
-
+# get the ats user's UID after package installation in case this is the initial badass
+my $ats_uid = getpwnam("ats");
&process_chkconfig( $hostname_short, $traffic_ops_host );
#### First time
[2/2] incubator-trafficcontrol git commit: This closes #107
Posted by mi...@apache.org.
This closes #107
Project: http://git-wip-us.apache.org/repos/asf/incubator-trafficcontrol/repo
Commit: http://git-wip-us.apache.org/repos/asf/incubator-trafficcontrol/commit/8fb497d6
Tree: http://git-wip-us.apache.org/repos/asf/incubator-trafficcontrol/tree/8fb497d6
Diff: http://git-wip-us.apache.org/repos/asf/incubator-trafficcontrol/diff/8fb497d6
Branch: refs/heads/master
Commit: 8fb497d6068966ca29da2790aaf3ff1a4cf8141d
Parents: e4e95e7
Author: Jeremy Mitchell <mi...@gmail.com>
Authored: Tue Nov 29 10:00:21 2016 -0700
Committer: Jeremy Mitchell <mi...@gmail.com>
Committed: Tue Nov 29 10:00:21 2016 -0700
----------------------------------------------------------------------
----------------------------------------------------------------------