From 536130abc60d579e48b14cdac64375828280e7e8 Mon Sep 17 00:00:00 2001 From: Holger Levsen Date: Thu, 30 Jul 2015 14:30:35 +0200 Subject: use more sudo and install munin-node on the build hosts --- update_jdn.sh | 7 ++++--- 1 file changed, 4 insertions(+), 3 deletions(-) diff --git a/update_jdn.sh b/update_jdn.sh index 29de8569..c6616ed4 100755 --- a/update_jdn.sh +++ b/update_jdn.sh @@ -97,6 +97,8 @@ if [ -f /etc/debian_version ] ; then debootstrap devscripts git + munin-node + munin-plugins-extra schroot screen subversion @@ -153,7 +155,6 @@ if [ -f /etc/debian_version ] ; then mr mtr-tiny munin - munin-plugins-extra ntp openbios-ppc openbios-sparc @@ -255,7 +256,7 @@ sudo service munin-node force-reload # cd $BASEDIR for dir in bin logparse job-cfg features live ; do - cp --preserve=mode,timestamps -r $dir /srv/jenkins/ + sudo cp --preserve=mode,timestamps -r $dir /srv/jenkins/ sudo chown -R jenkins-adm.jenkins-adm /srv/jenkins/$dir done sudo mkdir -p /var/lib/jenkins/.ssh @@ -369,6 +370,6 @@ rgrep FIXME $BASEDIR/* | grep -v "rgrep FIXME" | grep -v echo # # finally # -touch $STAMP # so on the next run, only configs newer than this file will be updated +sudo touch $STAMP # so on the next run, only configs newer than this file will be updated rm -f $TMPFILE explain "$(hostname -f) successfully updated." -- cgit v1.2.3-54-g00ecf