mirror of
https://github.com/xcat2/xcat-core.git
synced 2025-06-03 03:50:08 +00:00
Remove trailing spaces in file xCAT-buildkit/share/xcat/kits/kit_build/puppet/puppet-x86_64/scripts/client.post
This commit is contained in:
parent
d0abdbc222
commit
73a4c1e3b1
@ -1,20 +1,20 @@
|
||||
#!/bin/sh
|
||||
#!/bin/sh
|
||||
# IBM(c) 2013 EPL license http://www.eclipse.org/legal/epl-v10.html
|
||||
|
||||
|
||||
#-------------------------------------------------------------------------------
|
||||
#=head1 client.post
|
||||
#=head2 This command configures the puppet client on a xCAT node. It is used
|
||||
# as a postbootscript for puppet kit.
|
||||
#=head2 This command configures the puppet client on a xCAT node. 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
|
||||
#configure the puppet agent configuration files
|
||||
/xcatpost/config_puppet_client "$@"
|
||||
/xcatpost/config_puppet_client "$@"
|
||||
fi
|
||||
|
||||
exit 0
|
||||
|
Loading…
x
Reference in New Issue
Block a user