After execution of the bigtop_toolchain/bin/puppetize.sh script which basically install the rpm -ivh http://yum.puppetlabs.com/puppetlabs-release-el-7.noarch.rpm RPM package in the section "centos-7*)"
But after installation of the puppetlabs release el 7 noarch RPM package it is not possible to execute "yum" command with any switch case.
Hence it is required to put a below condition around the rpm installation
+ if [ $HOSTTYPE = "x86_64" ] ; then
+ rpm -ivh http://yum.puppetlabs.com/puppetlabs-release-el-7.noarch.rpm