AMBARI-7430. By default create apps folder for Slider apps and drop a README (aonishuk)
Project: http://git-wip-us.apache.org/repos/asf/ambari/repo Commit: http://git-wip-us.apache.org/repos/asf/ambari/commit/7b2f4673 Tree: http://git-wip-us.apache.org/repos/asf/ambari/tree/7b2f4673 Diff: http://git-wip-us.apache.org/repos/asf/ambari/diff/7b2f4673 Branch: refs/heads/branch-alerts-dev Commit: 7b2f467377e13ae81dd17930c49b9755968ef679 Parents: 0221541 Author: Andrew Onishuk <aonis...@hortonworks.com> Authored: Mon Sep 22 15:42:17 2014 +0300 Committer: Andrew Onishuk <aonis...@hortonworks.com> Committed: Mon Sep 22 15:42:17 2014 +0300 ---------------------------------------------------------------------- ambari-server/pom.xml | 22 ++++++++++++++++++++ .../main/resources/slider_resources/README.txt | 17 +++++++++++++++ 2 files changed, 39 insertions(+) ---------------------------------------------------------------------- http://git-wip-us.apache.org/repos/asf/ambari/blob/7b2f4673/ambari-server/pom.xml ---------------------------------------------------------------------- diff --git a/ambari-server/pom.xml b/ambari-server/pom.xml index bbf21fe..6287cdb 100644 --- a/ambari-server/pom.xml +++ b/ambari-server/pom.xml @@ -426,6 +426,17 @@ </sources> </mapping> <mapping> + <directory>/var/lib/ambari-server/resources/apps</directory> + <filemode>755</filemode> + <username>root</username> + <groupname>root</groupname> + <sources> + <source> + <location>src/main/resources/slider_resources/README.txt</location> + </source> + </sources> + </mapping> + <mapping> <directory>/var/lib/ambari-server/resources/scripts</directory> <filemode>755</filemode> <sources> @@ -679,6 +690,17 @@ </mapper> </data> <data> + <src>src/main/resources/slider_resources/README.txt</src> + <type>file</type> + <mapper> + <type>perm</type> + <prefix>/var/lib/ambari-server/resources/apps/</prefix> + <user>root</user> + <group>root</group> + <filemode>755</filemode> + </mapper> + </data> + <data> <src>conf/unix/ca.config</src> <type>file</type> <mapper> http://git-wip-us.apache.org/repos/asf/ambari/blob/7b2f4673/ambari-server/src/main/resources/slider_resources/README.txt ---------------------------------------------------------------------- diff --git a/ambari-server/src/main/resources/slider_resources/README.txt b/ambari-server/src/main/resources/slider_resources/README.txt new file mode 100644 index 0000000..4123e05 --- /dev/null +++ b/ambari-server/src/main/resources/slider_resources/README.txt @@ -0,0 +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. + + +Drop Apache Slider application .zip packages in this folder. \ No newline at end of file