Merge "baro: update collectd-openstack branch"
authorTim Rozet <trozet@redhat.com>
Wed, 4 Oct 2017 15:36:34 +0000 (15:36 +0000)
committerGerrit Code Review <gerrit@opnfv.org>
Wed, 4 Oct 2017 15:36:34 +0000 (15:36 +0000)
build/barometer-install.sh

index 9e5dfc7..bde7479 100755 (executable)
@@ -19,7 +19,7 @@
 # puppet-barometer module.
 
 # Versions/branches
-COLLECTD_OPENSTACK_PLUGINS_BRANCH="stable/ocata"
+COLLECTD_OPENSTACK_PLUGINS_BRANCH="stable/pike"
 
 ARCH="6.el7.centos.x86_64.rpm"
 # don't fail because of missing certificate
@@ -80,7 +80,7 @@ function barometer_pkgs {
   rm -rf collectd-openstack-plugins
   git clone $COLLECTD_OPENSTACK_REPO collectd-openstack-plugins
   pushd collectd-openstack-plugins
-  git checkout -b $COLLECTD_OPENSTACK_PLUGINS_BRANCH
+  git checkout $COLLECTD_OPENSTACK_PLUGINS_BRANCH
   git archive --format=tar.gz HEAD > ${BUILD_DIR}/collectd-openstack-plugins.tar.gz
   popd > /dev/null