mirror of
https://github.com/xcat2/xcat-core.git
synced 2025-07-12 15:51:30 +00:00
Remove trailing spaces in file xCAT-buildkit/share/xcat/kits/kit_build/puppet/puppet-x86_64/scripts/server.rpm_post
This commit is contained in:
@ -12,10 +12,10 @@
|
||||
if [ -f "/proc/cmdline" ]; then # prevent running it during install into chroot image
|
||||
#Now configure the pupper server
|
||||
/xcatpost/config_puppet_server "$@"
|
||||
|
||||
|
||||
#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