Skip to content

Commit

Permalink
add additional yum steps
Browse files Browse the repository at this point in the history
  • Loading branch information
Clement Pang committed Nov 24, 2015
1 parent c8e74a3 commit 56ba8a7
Showing 1 changed file with 9 additions and 3 deletions.
12 changes: 9 additions & 3 deletions install.sh
Original file line number Diff line number Diff line change
Expand Up @@ -657,11 +657,17 @@ EOF
else
exit_with_failure "Failed downloading the collectd-ci repo public key"
fi
echo_step " Installing collectd"
echo_step " Generating yum cache for collectd"
echo -e "\nyum -q makecache -y --disablerepo='*' --enablerepo='collectd-ci'" >>${INSTALL_LOG}
yum makecache -y --disablerepo='*' --enablerepo='collectd-ci' >>${INSTALL_LOG} 2>&1
echo_success
echo_step " Cleaning yum metadata"
echo -e "\nyum -y -q clean metadata" >>${INSTALL_LOG}
yum -y -q clean metadata >>${INSTALL_LOG} 2>&1
yum -y clean metadata >>${INSTALL_LOG} 2>&1
echo_success
echo_step " Installing collectd"
echo -e "\nyum -y -q install collectd" >>${INSTALL_LOG}
yum -y -q install collectd >>${INSTALL_LOG} 2>&1
yum -y install collectd >>${INSTALL_LOG} 2>&1
if [ "$?" != 0 ]; then
exit_with_failure "Failed to install collectd"
fi
Expand Down

0 comments on commit 56ba8a7

Please sign in to comment.