AMBARI-18739. Perf: Create Rolling and Express Upgrade Packs. Add license headers (dlysnichenko)
Project: http://git-wip-us.apache.org/repos/asf/ambari/repo Commit: http://git-wip-us.apache.org/repos/asf/ambari/commit/6e8c2263 Tree: http://git-wip-us.apache.org/repos/asf/ambari/tree/6e8c2263 Diff: http://git-wip-us.apache.org/repos/asf/ambari/diff/6e8c2263 Branch: refs/heads/trunk Commit: 6e8c2263f36f9bdb59bf56a1879af93de9c91f39 Parents: c55fa4e Author: Lisnichenko Dmitro <[email protected]> Authored: Fri Jan 20 13:58:42 2017 +0200 Committer: Lisnichenko Dmitro <[email protected]> Committed: Fri Jan 20 14:00:23 2017 +0200 ---------------------------------------------------------------------- .../src/main/resources/stacks/PERF/PythonExecutor.sed | 14 ++++++++++++++ .../main/resources/stacks/PERF/install_packages.sed | 14 ++++++++++++++ 2 files changed, 28 insertions(+) ---------------------------------------------------------------------- http://git-wip-us.apache.org/repos/asf/ambari/blob/6e8c2263/ambari-server/src/main/resources/stacks/PERF/PythonExecutor.sed ---------------------------------------------------------------------- diff --git a/ambari-server/src/main/resources/stacks/PERF/PythonExecutor.sed b/ambari-server/src/main/resources/stacks/PERF/PythonExecutor.sed index a9004d3..36ad19b 100644 --- a/ambari-server/src/main/resources/stacks/PERF/PythonExecutor.sed +++ b/ambari-server/src/main/resources/stacks/PERF/PythonExecutor.sed @@ -1,3 +1,17 @@ +# 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. / command_env = dict(os.environ)/{i\ command_env = dict(os.environ)\ command_env['PATH'] = command_env['PATH'] + ':' + "AMBARI_AGENT_HOST_DIR" + self.config.get('agent', 'prefix') + ':' + "AMBARI_AGENT_CACHE_DIR" + self.config.get('agent', 'cache_dir') http://git-wip-us.apache.org/repos/asf/ambari/blob/6e8c2263/ambari-server/src/main/resources/stacks/PERF/install_packages.sed ---------------------------------------------------------------------- diff --git a/ambari-server/src/main/resources/stacks/PERF/install_packages.sed b/ambari-server/src/main/resources/stacks/PERF/install_packages.sed index 81c3e7c..013d8df 100644 --- a/ambari-server/src/main/resources/stacks/PERF/install_packages.sed +++ b/ambari-server/src/main/resources/stacks/PERF/install_packages.sed @@ -1,3 +1,17 @@ +# 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. /actionexecute/{i\ def actionexecute(self, env):\ # Parse parameters\
