Author: rvs
Date: Wed Nov 16 23:20:57 2011
New Revision: 1202930

URL: http://svn.apache.org/viewvc?rev=1202930&view=rev
Log:
BIGTOP-260. Mahout puppet module needs to be implemented

Added:
    incubator/bigtop/trunk/bigtop-deploy/puppet/modules/mahout/
    incubator/bigtop/trunk/bigtop-deploy/puppet/modules/mahout/manifests/
    incubator/bigtop/trunk/bigtop-deploy/puppet/modules/mahout/manifests/init.pp
      - copied, changed from r1202929, 
incubator/bigtop/trunk/bigtop-deploy/puppet/modules/hadoop-pig/tests/init.pp
    incubator/bigtop/trunk/bigtop-deploy/puppet/modules/mahout/tests/
    incubator/bigtop/trunk/bigtop-deploy/puppet/modules/mahout/tests/init.pp
      - copied, changed from r1202929, 
incubator/bigtop/trunk/bigtop-deploy/puppet/modules/hadoop-pig/tests/init.pp
Modified:
    incubator/bigtop/trunk/bigtop-deploy/puppet/manifests/cluster.pp
    incubator/bigtop/trunk/bigtop-deploy/puppet/modules/hadoop-pig/tests/init.pp

Modified: incubator/bigtop/trunk/bigtop-deploy/puppet/manifests/cluster.pp
URL: 
http://svn.apache.org/viewvc/incubator/bigtop/trunk/bigtop-deploy/puppet/manifests/cluster.pp?rev=1202930&r1=1202929&r2=1202930&view=diff
==============================================================================
--- incubator/bigtop/trunk/bigtop-deploy/puppet/manifests/cluster.pp (original)
+++ incubator/bigtop/trunk/bigtop-deploy/puppet/manifests/cluster.pp Wed Nov 16 
23:20:57 2011
@@ -143,6 +143,8 @@ class hadoop_gateway_node inherits hadoo
   #   # auth => $hadoop_security_authentication,
   # }
 
+  mahout::client { "mahout client":
+  }
   hadoop-pig::client { "pig client":
   }
   hadoop-hive::client { "hive client":

Modified: 
incubator/bigtop/trunk/bigtop-deploy/puppet/modules/hadoop-pig/tests/init.pp
URL: 
http://svn.apache.org/viewvc/incubator/bigtop/trunk/bigtop-deploy/puppet/modules/hadoop-pig/tests/init.pp?rev=1202930&r1=1202929&r2=1202930&view=diff
==============================================================================
--- 
incubator/bigtop/trunk/bigtop-deploy/puppet/modules/hadoop-pig/tests/init.pp 
(original)
+++ 
incubator/bigtop/trunk/bigtop-deploy/puppet/modules/hadoop-pig/tests/init.pp 
Wed Nov 16 23:20:57 2011
@@ -13,5 +13,5 @@
 # See the License for the specific language governing permissions and
 # limitations under the License.
 
-include pig
-pig::client { "test-pig": } 
+include hadoop-pig
+hadoop-pig::client { "test-pig": } 

Copied: 
incubator/bigtop/trunk/bigtop-deploy/puppet/modules/mahout/manifests/init.pp 
(from r1202929, 
incubator/bigtop/trunk/bigtop-deploy/puppet/modules/hadoop-pig/tests/init.pp)
URL: 
http://svn.apache.org/viewvc/incubator/bigtop/trunk/bigtop-deploy/puppet/modules/mahout/manifests/init.pp?p2=incubator/bigtop/trunk/bigtop-deploy/puppet/modules/mahout/manifests/init.pp&p1=incubator/bigtop/trunk/bigtop-deploy/puppet/modules/hadoop-pig/tests/init.pp&r1=1202929&r2=1202930&rev=1202930&view=diff
==============================================================================
--- 
incubator/bigtop/trunk/bigtop-deploy/puppet/modules/hadoop-pig/tests/init.pp 
(original)
+++ 
incubator/bigtop/trunk/bigtop-deploy/puppet/modules/mahout/manifests/init.pp 
Wed Nov 16 23:20:57 2011
@@ -13,5 +13,11 @@
 # See the License for the specific language governing permissions and
 # limitations under the License.
 
-include pig
-pig::client { "test-pig": } 
+class mahout {
+  define client {
+    package { "mahout":
+      ensure => latest,
+      require => Package["hadoop"],
+    } 
+  }
+}

Copied: 
incubator/bigtop/trunk/bigtop-deploy/puppet/modules/mahout/tests/init.pp (from 
r1202929, 
incubator/bigtop/trunk/bigtop-deploy/puppet/modules/hadoop-pig/tests/init.pp)
URL: 
http://svn.apache.org/viewvc/incubator/bigtop/trunk/bigtop-deploy/puppet/modules/mahout/tests/init.pp?p2=incubator/bigtop/trunk/bigtop-deploy/puppet/modules/mahout/tests/init.pp&p1=incubator/bigtop/trunk/bigtop-deploy/puppet/modules/hadoop-pig/tests/init.pp&r1=1202929&r2=1202930&rev=1202930&view=diff
==============================================================================
--- 
incubator/bigtop/trunk/bigtop-deploy/puppet/modules/hadoop-pig/tests/init.pp 
(original)
+++ incubator/bigtop/trunk/bigtop-deploy/puppet/modules/mahout/tests/init.pp 
Wed Nov 16 23:20:57 2011
@@ -13,5 +13,5 @@
 # See the License for the specific language governing permissions and
 # limitations under the License.
 
-include pig
-pig::client { "test-pig": } 
+include mahout
+mahout::client { "test-mahout": } 


Reply via email to