Repository: bigtop
Updated Branches:
  refs/heads/BIGTOP-2320 9de53a37f -> 3cee57abc


BIGTOP-2325. Deployment recipes for HAWQ

type in the template name


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

Branch: refs/heads/BIGTOP-2320
Commit: b2508fb002d7f87d88041e7af2504201b029996c
Parents: 9de53a3
Author: Cos <[email protected]>
Authored: Wed Mar 16 20:31:51 2016 -0500
Committer: Cos <[email protected]>
Committed: Wed Mar 16 21:44:39 2016 -0500

----------------------------------------------------------------------
 bigtop-deploy/puppet/modules/hawq/manifests/init.pp | 7 ++++++-
 1 file changed, 6 insertions(+), 1 deletion(-)
----------------------------------------------------------------------


http://git-wip-us.apache.org/repos/asf/bigtop/blob/b2508fb0/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 39ecb34..1c499ab 100644
--- a/bigtop-deploy/puppet/modules/hawq/manifests/init.pp
+++ b/bigtop-deploy/puppet/modules/hawq/manifests/init.pp
@@ -74,7 +74,7 @@ class hawq {
 
     file { "/etc/sysctl.conf":
        # TODO overriding sysctl might be a somewhat dangerous, let's figure 
something better
-        content => template('hawq/ysysctl.conf'),
+        content => template('hawq/sysctl.conf'),
     }
     exec { "sysctl reset":
       path      => ['/usr/sbin'],
@@ -96,8 +96,13 @@ class hawq {
       ## but I don't think it matter, and for sure looks ugly
     }
 
+    package { "epel-release":
+      ensure    => latest,
+    }
+
     package { "python-pip":
       ensure    => latest,
+      require   => [ Package['epel-release'] ],
     }
     package { "pychecker":
       ensure    => latest,

Reply via email to