Only adduser puppet if not exist
This patch makes it possible to run ./all-in-one.sh twice. Change-Id: If4f9640289953c2c292840c510e9ee211fb35a23
This commit is contained in:
parent
4bbea36c6f
commit
116aecd5ca
|
@ -55,7 +55,9 @@ elif uses_debs; then
|
|||
fi
|
||||
|
||||
if [ $(lsb_release --id -s) = "Debian" ] ; then
|
||||
adduser --disabled-password --gecos puppet,,, puppet
|
||||
if ! getent passwd puppet ; then
|
||||
adduser --disabled-password --gecos puppet,,, puppet
|
||||
fi
|
||||
fi
|
||||
|
||||
print_header 'Install Bundler'
|
||||
|
|
Loading…
Reference in New Issue