Add flag for whether to provision Bigtop repo or not
@@ -31,8 +31,11 @@ case $operatingsystem {
$jdk_preinstalled = hiera("bigtop::jdk_preinstalled", false)
$jdk_package_name = hiera("bigtop::jdk_package_name", "jdk")
+$provision_repo = hiera("bigtop::provision_repo", true)
+
stage {"pre": before => Stage["main"]}
+if ($provision_repo) {
case $::operatingsystem {
/(OracleLinux|Amazon|CentOS|Fedora|RedHat)/: {
yumrepo { "Bigtop":
@@ -61,6 +64,7 @@ case $::operatingsystem {
notify{"WARNING: running on a neither yum nor apt platform -- make sure Bigtop repo is setup": }
}
}
+}
case $::operatingsystem {
/Debian/: {
