bigtop-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From ofle...@apache.org
Subject [2/2] bigtop git commit: BIGTOP-2750: puppet: increase compatibility with future versions
Date Sat, 22 Apr 2017 18:05:47 GMT
BIGTOP-2750: puppet: increase compatibility with future versions


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

Branch: refs/heads/puppet4
Commit: 6abbbfc46dec85bffcf8136bc0712bbd135ae2b6
Parents: 14e7f39
Author: Olaf Flebbe <of@oflebbe.de>
Authored: Sat Apr 22 19:44:30 2017 +0200
Committer: Olaf Flebbe <of@oflebbe.de>
Committed: Sat Apr 22 19:56:59 2017 +0200

----------------------------------------------------------------------
 bigtop-deploy/puppet/manifests/cluster.pp | 2 +-
 bigtop-deploy/puppet/manifests/site.pp    | 2 ++
 2 files changed, 3 insertions(+), 1 deletion(-)
----------------------------------------------------------------------


http://git-wip-us.apache.org/repos/asf/bigtop/blob/6abbbfc4/bigtop-deploy/puppet/manifests/cluster.pp
----------------------------------------------------------------------
diff --git a/bigtop-deploy/puppet/manifests/cluster.pp b/bigtop-deploy/puppet/manifests/cluster.pp
index 83bb7b2..e4e22b2 100644
--- a/bigtop-deploy/puppet/manifests/cluster.pp
+++ b/bigtop-deploy/puppet/manifests/cluster.pp
@@ -223,7 +223,7 @@ class node_with_roles ($roles = hiera("bigtop::roles")) inherits hadoop_cluster_
     "ambari",
   ]
 
-  deploy_module { $modules:
+  node_with_roles::deploy_module { $modules:
     roles => $roles,
   }
 }

http://git-wip-us.apache.org/repos/asf/bigtop/blob/6abbbfc4/bigtop-deploy/puppet/manifests/site.pp
----------------------------------------------------------------------
diff --git a/bigtop-deploy/puppet/manifests/site.pp b/bigtop-deploy/puppet/manifests/site.pp
index f35a4e0..bf0212c 100644
--- a/bigtop-deploy/puppet/manifests/site.pp
+++ b/bigtop-deploy/puppet/manifests/site.pp
@@ -21,6 +21,8 @@ case $operatingsystem {
     }
     # Detect env to pick up default repo for other Bigtop supported OSs
     default: {
+      include stdlib
+
       $lower_os = downcase($operatingsystem)
       # We use code name such as trusty for Ubuntu instead of release version in bigtop's
binary convenience repos
       if ($operatingsystem == "Ubuntu") { $release = $lsbdistcodename } else { $release =
$operatingsystemmajrelease }


Mime
View raw message