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:
@@ -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
|
||||
|
||||
|
Reference in New Issue
Block a user