bigtop-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From c..@apache.org
Subject bigtop git commit: BIGTOP-2325. Fixing some typos in the dependency names; adding pychecked dep. instead of pip-based install
Date Thu, 25 Feb 2016 03:56:04 GMT
Repository: bigtop
Updated Branches:
  refs/heads/BIGTOP-2320 e2828869c -> 62be19376


BIGTOP-2325. Fixing some typos in the dependency names; adding pychecked dep. instead of pip-based
install


Project: http://git-wip-us.apache.org/repos/asf/bigtop/repo
Commit: http://git-wip-us.apache.org/repos/asf/bigtop/commit/62be1937
Tree: http://git-wip-us.apache.org/repos/asf/bigtop/tree/62be1937
Diff: http://git-wip-us.apache.org/repos/asf/bigtop/diff/62be1937

Branch: refs/heads/BIGTOP-2320
Commit: 62be19376b905829d0277fd91db9324652b60be3
Parents: e282886
Author: Konstantin Boudnik <cos@apache.org>
Authored: Wed Feb 24 19:55:18 2016 -0800
Committer: Konstantin Boudnik <cos@apache.org>
Committed: Wed Feb 24 19:55:18 2016 -0800

----------------------------------------------------------------------
 .../puppet/modules/hawq/manifests/init.pp       | 20 +++++++++++---------
 1 file changed, 11 insertions(+), 9 deletions(-)
----------------------------------------------------------------------


http://git-wip-us.apache.org/repos/asf/bigtop/blob/62be1937/bigtop-deploy/puppet/modules/hawq/manifests/init.pp
----------------------------------------------------------------------
diff --git a/bigtop-deploy/puppet/modules/hawq/manifests/init.pp b/bigtop-deploy/puppet/modules/hawq/manifests/init.pp
index bafb7a2..8ba6adb 100644
--- a/bigtop-deploy/puppet/modules/hawq/manifests/init.pp
+++ b/bigtop-deploy/puppet/modules/hawq/manifests/init.pp
@@ -30,6 +30,7 @@ class hawq {
 
     package { "hawq":
       ensure  => latest,
+      require => Package["libhdfs3-devel"],
       ## require => for centos this crap needs epel-release
     }
 
@@ -69,17 +70,12 @@ class hawq {
     exec { "install pygresql modules1":
       path 	 => ['/usr/bin'],
       command	 => 'pip --retries=50 --timeout=300 install pg8000 simplejson unittest2
pycrypto pygresql pyyaml lockfile paramiko psi',
-      require	 => [ Package['python-pip'] ],
+      require	 => [ Package['python-pip', 'postgresql-devel'] ],
     }
     exec { "install pygresql modules2":
       path 	 => ['/usr/bin'],
       command	 => 'pip --retries=50 --timeout=300 install http://darcs.idyll.org/~t/projects/figleaf-0.6.1.tar.gz',
-      require	 => [ Package['python-pip'], Exec ['install pygresql modules1'] ],
-    }
-    exec { "install pygresql modules3":
-      path 	 => ['/usr/bin'],
-      command	 => 'pip --retries=50 --timeout=300 install http://sourceforge.net/projects/pychecker/files/pychecker/0.8.19/pychecker-0.8.19.tar.gz/download',
-      require	 => [ Package['python-pip'], Exec ['install pygresql modules2'] ],
+      require	 => [ Package['python-pip', 'pychecker'], Exec ['install pygresql modules1']
],
       ## HAWQ install instructions are suggesting to
       ## uninstall postgresql postgresql-libs postgresql-devel at this point
       ## but I don't think it matter, and for sure looks ugly
@@ -88,16 +84,22 @@ class hawq {
     package { "python-pip":
       ensure 	 => latest,
     }
-    package { "postgresql":
+    package { "pychecker":
       ensure 	 => latest,
     }
+    package { "postgresql-devel":
+      ensure 	 => latest,
+    }
+    package { "libhdfs3-devel":
+      ensure     => latest,
+    }
 
 ### TODO init require hdfs to be running. Need to test this
     exec { "hawk init":
       path 	 => ['/usr/bin'],
       # Silly init will ask if I am really sure I want to init the cluster
       command	 => 'echo y | bash -x /usr/bin/hawq init cluster',
-      require	 => [ Package['hawq', 'python-pip', 'postgresql'], Exec ['install pygresql
modules3'] ],
+      require	 => [ Package['hawq'], Exec ['install pygresql modules2'] ],
     }
 
 ### TODO The expectation is that init will start the service. I don't think so...


Mime
View raw message