aboutsummaryrefslogtreecommitdiff
path: root/bigtop-deploy
diff options
context:
space:
mode:
authorOlaf Flebbe <of@oflebbe.de>2017-04-22 19:44:30 +0200
committerOlaf Flebbe <of@oflebbe.de>2017-04-23 08:27:13 +0200
commit2f8311b184bf0c5d25756b098895e43b1dbc3c2e (patch)
treedd770e697daddab20e09fbf8ce199c97ee540c37 /bigtop-deploy
parenta4e7d9ec819d171772ebca5d937aa46a94b95905 (diff)
BIGTOP-2750: puppet: increase compatibility with future versions
Diffstat (limited to 'bigtop-deploy')
-rw-r--r--bigtop-deploy/puppet/manifests/cluster.pp2
-rw-r--r--bigtop-deploy/puppet/manifests/site.pp2
2 files changed, 3 insertions, 1 deletions
diff --git a/bigtop-deploy/puppet/manifests/cluster.pp b/bigtop-deploy/puppet/manifests/cluster.pp
index 83bb7b24..e4e22b20 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,
}
}
diff --git a/bigtop-deploy/puppet/manifests/site.pp b/bigtop-deploy/puppet/manifests/site.pp
index f35a4e0f..bf0212cd 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 }