You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@ambari.apache.org by dm...@apache.org on 2016/06/01 17:33:22 UTC

[2/2] ambari git commit: AMBARI-16272. Ambari Upgrade shouldn't automatically add stack configs. Fix script for setting default upgrade policy (dlysnichenko)

AMBARI-16272. Ambari Upgrade shouldn't automatically add stack configs. Fix script for setting default upgrade policy (dlysnichenko)


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

Branch: refs/heads/branch-2.4
Commit: 0875142da0b27f6a6e4b3159285af769b699ad3e
Parents: 8e7103a
Author: Lisnichenko Dmitro <dl...@hortonworks.com>
Authored: Wed Jun 1 20:32:18 2016 +0300
Committer: Lisnichenko Dmitro <dl...@hortonworks.com>
Committed: Wed Jun 1 20:33:05 2016 +0300

----------------------------------------------------------------------
 .../configurations-set-default-update-policy.sh  | 19 +++++++++++++++++++
 1 file changed, 19 insertions(+)
----------------------------------------------------------------------


http://git-wip-us.apache.org/repos/asf/ambari/blob/0875142d/ambari-server/src/main/resources/scripts/configurations-set-default-update-policy.sh
----------------------------------------------------------------------
diff --git a/ambari-server/src/main/resources/scripts/configurations-set-default-update-policy.sh b/ambari-server/src/main/resources/scripts/configurations-set-default-update-policy.sh
index 6565299..930f778 100644
--- a/ambari-server/src/main/resources/scripts/configurations-set-default-update-policy.sh
+++ b/ambari-server/src/main/resources/scripts/configurations-set-default-update-policy.sh
@@ -1,4 +1,23 @@
 #!/usr/bin/env bash
+#
+# Licensed to the Apache Software Foundation (ASF) under one
+# or more contributor license agreements.  See the NOTICE file
+# distributed with this work for additional information
+# regarding copyright ownership.  The ASF licenses this file
+# to you under the Apache License, Version 2.0 (the
+# "License"); you may not use this file except in compliance
+# with the License.  You may obtain a copy of the License at
+#
+#   http://www.apache.org/licenses/LICENSE-2.0
+#
+# Unless required by applicable law or agreed to in writing,
+# software distributed under the License is distributed on an
+# "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY
+# KIND, either express or implied.  See the License for the
+# specific language governing permissions and limitations
+# under the License.
+#
+
 
 for i in `find ../../../ -regex '.*/configuration.*/.*.xml'` ;
 do