Prerequisite

copy 2 java file to: phd-3.0/bigtop/bigtop_toolchain/files; the file should be exactly named as: 
1. jdk-6u45-linux-amd64.rpm: extracted from jdk-6u45-linux-x64-rpm.bin; you can download this file from the Oracle download site;
2. jdk-7u60-linux-x64.gz: just rename  jdk-7u60-linux-x64.tar.gz  to this; you can download the file from the Oracle download site;
Note: the bigtop toolchain hard-coded links for downloading the tar.gz files may not accessible and cause puppet to fail; when you faced this kind of error, you can download the files directly and put them to /usr/src/, puppet will recognize it. A JIRA has been filed for this: https://issues.apache.org/jira/browse/BIGTOP-1488

OpenSuse Docker image setup

$ docker pull opensuse
$ docker run -v /phd-3.0/:/phd-3.0:rw -it opensuse /bin/bash   
# zypper in puppet ca-certificates   
# FACTER_operatingsystem=OpenSuse puppet apply --modulepath=/phd-3.0/bigtop/ -e "include bigtop_toolchain::installer”   
# source /etc/profile.d/bigtop.sh
# cd /phd-3.0/bigtop
# gradle zookeeper-yum
Note: "FACTER_operatingsystem" setting in the above script is a must to workaround the issue. Without this setting, if will report some error like "Error: No matching value for selector param Linux"