You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@bigtop.apache.org by rv...@apache.org on 2012/03/09 23:03:36 UTC

svn commit: r1299071 - in /incubator/bigtop/trunk: bigtop-deploy/puppet/modules/hadoop/lib/facter/hadoop_storage_dirs.rb pom.xml

Author: rvs
Date: Fri Mar  9 22:03:36 2012
New Revision: 1299071

URL: http://svn.apache.org/viewvc?rev=1299071&view=rev
Log:
BIGTOP-442. add Apache license to the puppet code

Modified:
    incubator/bigtop/trunk/bigtop-deploy/puppet/modules/hadoop/lib/facter/hadoop_storage_dirs.rb
    incubator/bigtop/trunk/pom.xml

Modified: incubator/bigtop/trunk/bigtop-deploy/puppet/modules/hadoop/lib/facter/hadoop_storage_dirs.rb
URL: http://svn.apache.org/viewvc/incubator/bigtop/trunk/bigtop-deploy/puppet/modules/hadoop/lib/facter/hadoop_storage_dirs.rb?rev=1299071&r1=1299070&r2=1299071&view=diff
==============================================================================
--- incubator/bigtop/trunk/bigtop-deploy/puppet/modules/hadoop/lib/facter/hadoop_storage_dirs.rb (original)
+++ incubator/bigtop/trunk/bigtop-deploy/puppet/modules/hadoop/lib/facter/hadoop_storage_dirs.rb Fri Mar  9 22:03:36 2012
@@ -1,3 +1,20 @@
+# 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.
+
+# We make the assumption hadoop's data files will be located in /data/
+# Puppet needs to know where they are
 Facter.add("hadoop_storage_dirs") do
   setcode do
     [ Facter.value("hadoop_storage_dir_pattern"),

Modified: incubator/bigtop/trunk/pom.xml
URL: http://svn.apache.org/viewvc/incubator/bigtop/trunk/pom.xml?rev=1299071&r1=1299070&r2=1299071&view=diff
==============================================================================
--- incubator/bigtop/trunk/pom.xml (original)
+++ incubator/bigtop/trunk/pom.xml Fri Mar  9 22:03:36 2012
@@ -70,6 +70,8 @@
               <exclude>src/site/resources/images/bigtop-logo.ai</exclude>
               <exclude>test/MANIFEST.txt</exclude>
               <exclude>bigtop-deploy/puppet/modules/hadoop/templates/taskcontroller.cfg</exclude>
+              <exclude>bigtop-deploy/puppet/README.md</exclude>
+              <exclude>bigtop-deploy/puppet/config/site.csv.example</exclude>
             </excludes>
           </configuration>
         </plugin>