Repository: ambari
Updated Branches:
  refs/heads/trunk 6ed6784c3 -> 3cdc032ee


AMBARI-9828. Ability to handle envs where sudo is not available (aonishuk)


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

Branch: refs/heads/trunk
Commit: 3cdc032ee89346bde07aa69eb56dc2f34e826308
Parents: 6ed6784
Author: Andrew Onishuk <[email protected]>
Authored: Fri Feb 27 15:36:17 2015 +0200
Committer: Andrew Onishuk <[email protected]>
Committed: Fri Feb 27 15:36:17 2015 +0200

----------------------------------------------------------------------
 .../src/main/python/ambari_commons/constants.py | 20 ++++++++++++++++++++
 1 file changed, 20 insertions(+)
----------------------------------------------------------------------


http://git-wip-us.apache.org/repos/asf/ambari/blob/3cdc032e/ambari-common/src/main/python/ambari_commons/constants.py
----------------------------------------------------------------------
diff --git a/ambari-common/src/main/python/ambari_commons/constants.py 
b/ambari-common/src/main/python/ambari_commons/constants.py
index f3d5426..b823b31 100644
--- a/ambari-common/src/main/python/ambari_commons/constants.py
+++ b/ambari-common/src/main/python/ambari_commons/constants.py
@@ -1 +1,21 @@
+#!/usr/bin/env python
+
+'''
+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.
+'''
+
 AMBARI_SUDO_BINARY = "ambari-sudo.sh"
\ No newline at end of file

Reply via email to