OpenSuse Docker image setup for Bigtop build
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
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"