Repository: ambari
Updated Branches:
  refs/heads/branch-2.0.0 debec6710 -> 97ab98f6f


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/97ab98f6
Tree: http://git-wip-us.apache.org/repos/asf/ambari/tree/97ab98f6
Diff: http://git-wip-us.apache.org/repos/asf/ambari/diff/97ab98f6

Branch: refs/heads/branch-2.0.0
Commit: 97ab98f6f2bbd3cc61125abef30c71631feb0de0
Parents: debec67
Author: Andrew Onishuk <[email protected]>
Authored: Fri Feb 27 15:35:24 2015 +0200
Committer: Andrew Onishuk <[email protected]>
Committed: Fri Feb 27 15:35:24 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/97ab98f6/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