barometer: move to opnfv puppet repo 87/48087/3
authorMaryam Tahhan <maryam.tahhan@intel.com>
Thu, 30 Nov 2017 11:04:40 +0000 (11:04 +0000)
committerMaryam Tahhan <maryam.tahhan@intel.com>
Thu, 30 Nov 2017 13:39:32 +0000 (13:39 +0000)
The barometer puppet scripts have been moved to the barometer repo. This
change migrates the Apex builds to using the barometer repo.

Change-Id: I064c40746d19e5deb305c503128b357479b7149c
Signed-off-by: Maryam Tahhan <maryam.tahhan@intel.com>
build/barometer-install.sh

index 15753a4..ca9b79c 100755 (executable)
@@ -29,7 +29,7 @@ GETFLAG="--no-check-certificate"
 # Locations of repos
 ARTIFACTS_BAROM="artifacts.opnfv.org/barometer"
 COLLECTD_OPENSTACK_REPO="https://github.com/openstack/collectd-ceilometer-plugin"
-PUPPET_BAROMETER_REPO="https://github.com/johnhinman/puppet-barometer"
+PUPPET_BAROMETER_REPO="https://github.com/opnfv/barometer.git"
 
 # upload barometer packages tar, extract, and install
 
@@ -87,7 +87,8 @@ function barometer_pkgs {
 
   # get the barometer puppet module and tar it
   rm -rf puppet-barometer
-  git clone $PUPPET_BAROMETER_REPO
+  git clone $PUPPET_BAROMETER_REPO puppet-barometer
+  cd puppet-barometer
   pushd puppet-barometer/ > /dev/null
   git archive --format=tar.gz HEAD > ${BUILD_DIR}/puppet-barometer.tar.gz
   popd > /dev/null