summaryrefslogtreecommitdiffstats
path: root/update_jdn.sh
diff options
context:
space:
mode:
authorHolger Levsen <holger@layer-acht.org>2015-11-12 16:15:28 +0100
committerHolger Levsen <holger@layer-acht.org>2015-11-12 16:15:28 +0100
commit1e1600b4e0a88f8bcbf38899247dd2174a3e046d (patch)
tree2c4ebaa9280563ddfa4e1debb485324e8c6f5e32 /update_jdn.sh
parent6ca93033f31cba5a54c1de0402b6031e0269ae04 (diff)
downloadjenkins.debian.net-1e1600b4e0a88f8bcbf38899247dd2174a3e046d.tar.xz
configure user philh too
Diffstat (limited to 'update_jdn.sh')
-rwxr-xr-xupdate_jdn.sh6
1 files changed, 5 insertions, 1 deletions
diff --git a/update_jdn.sh b/update_jdn.sh
index 22aa7b1e..f4c14f86 100755
--- a/update_jdn.sh
+++ b/update_jdn.sh
@@ -29,11 +29,15 @@ if ! getent passwd jenkins-adm > /dev/null ; then
sudo adduser --system --shell /bin/bash --no-create-home --ingroup jenkins-adm --disabled-login --no-create-home jenkins-adm
sudo usermod -G jenkins jenkins-adm
fi
-for user in helmut holger mattia lunar ; do
+for user in helmut holger mattia lunar philh ; do
if [ "$user" = "lunar" ] && [ "$HOSTNAME" != "jenkins" ] ; then
# lunar only wants to configure jekyll
continue
fi
+ if [ "$user" = "philh" ] && [ "$HOSTNAME" != "jenkins-test-vm" ] ; then
+ # philh only wants to test stuff
+ continue
+ fi
if ! getent passwd $user > /dev/null ; then
if [ "$user" = "mattia" ] ; then
usershell=/bin/zsh