Updated Branches:
  refs/heads/trunk 7162d936f -> 817b6ffbd

AMBARI-2788. Using confgis.sh to set property values in core-site result in 
line auth_to_local mapping issues. (srimanth)


Project: http://git-wip-us.apache.org/repos/asf/incubator-ambari/repo
Commit: http://git-wip-us.apache.org/repos/asf/incubator-ambari/commit/817b6ffb
Tree: http://git-wip-us.apache.org/repos/asf/incubator-ambari/tree/817b6ffb
Diff: http://git-wip-us.apache.org/repos/asf/incubator-ambari/diff/817b6ffb

Branch: refs/heads/trunk
Commit: 817b6ffbde0a80fb569c733f63a9db50c5c86bf7
Parents: 7162d93
Author: Srimanth Gunturi <[email protected]>
Authored: Wed Jul 31 17:32:43 2013 -0700
Committer: Srimanth Gunturi <[email protected]>
Committed: Wed Jul 31 17:38:12 2013 -0700

----------------------------------------------------------------------
 ambari-server/src/main/resources/scripts/configs.sh | 4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)
----------------------------------------------------------------------


http://git-wip-us.apache.org/repos/asf/incubator-ambari/blob/817b6ffb/ambari-server/src/main/resources/scripts/configs.sh
----------------------------------------------------------------------
diff --git a/ambari-server/src/main/resources/scripts/configs.sh 
b/ambari-server/src/main/resources/scripts/configs.sh
index 852edd0..2aa5250 100755
--- a/ambari-server/src/main/resources/scripts/configs.sh
+++ b/ambari-server/src/main/resources/scripts/configs.sh
@@ -73,7 +73,7 @@ doConfigUpdate () {
   currentSiteTag
   echo "########## Performing '$MODE' $CONFIGKEY:$CONFIGVALUE on (Site:$SITE, 
Tag:$SITETAG)";
   propertiesStarted=0;
-  curl -s -u $USERID:$PASSWD 
"$AMBARIURL/api/v1/clusters/$CLUSTER/configurations?type=$SITE&tag=$SITETAG" | 
while read line; do
+  curl -s -u $USERID:$PASSWD 
"$AMBARIURL/api/v1/clusters/$CLUSTER/configurations?type=$SITE&tag=$SITETAG" | 
while read -r line; do
     ## echo ">>> $line";
     if [ "$propertiesStarted" -eq 0 -a "`echo $line | grep "\"properties\""`" 
]; then
       propertiesStarted=1
@@ -120,7 +120,7 @@ doGet () {
   currentSiteTag
   echo "########## Performing 'GET' on (Site:$SITE, Tag:$SITETAG)";
   propertiesStarted=0;
-  curl -s -u $USERID:$PASSWD 
"$AMBARIURL/api/v1/clusters/$CLUSTER/configurations?type=$SITE&tag=$SITETAG" | 
while read line; do
+  curl -s -u $USERID:$PASSWD 
"$AMBARIURL/api/v1/clusters/$CLUSTER/configurations?type=$SITE&tag=$SITETAG" | 
while read -r line; do
     ## echo ">>> $line";
     if [ "$propertiesStarted" -eq 0 -a "`echo $line | grep "\"properties\""`" 
]; then
       propertiesStarted=1

Reply via email to