2
0
mirror of https://github.com/xcat2/xcat-core.git synced 2025-08-21 10:40:24 +00:00

Remove trailing spaces in file xCAT-buildkit/share/xcat/kits/kit_build/puppet/puppet-x86_64/scripts/server.post

This commit is contained in:
GONG Jie
2017-12-31 23:59:59 +00:00
parent 7bc3985503
commit 329182660c

View File

@@ -8,8 +8,8 @@
# It is used as a postbootscript for puppet kit.
#=cut
#-------------------------------------------------------------------------------
if [ "$NODESETSTATE" = "install" ]; then
#prevent getting called during full install bootup
if [ "$NODESETSTATE" = "install" ]; then
#prevent getting called during full install bootup
#because the function will be called in the rpm %post section instead
exit 0
else
@@ -18,7 +18,7 @@ else
#restart puppet master
service puppetmaster stop
kill $(ps auxww | grep puppet | grep master | grep -v grep | awk '{print $2}')
kill $(ps auxww | grep puppet | grep master | grep -v grep | awk '{print $2}')
service puppetmaster start
fi