Repository: bigtop Updated Branches: refs/heads/master a4e7d9ec8 -> 2f8311b18
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/2f8311b1 Tree: http://git-wip-us.apache.org/repos/asf/bigtop/tree/2f8311b1 Diff: http://git-wip-us.apache.org/repos/asf/bigtop/diff/2f8311b1 Branch: refs/heads/master Commit: 2f8311b184bf0c5d25756b098895e43b1dbc3c2e Parents: a4e7d9e Author: Olaf Flebbe <[email protected]> Authored: Sat Apr 22 19:44:30 2017 +0200 Committer: Olaf Flebbe <[email protected]> Committed: Sun Apr 23 08:27:13 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/2f8311b1/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/2f8311b1/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 }
