2
0
mirror of https://github.com/xcat2/xcat-core.git synced 2025-08-25 20:50:26 +00:00

Remove trailing spaces in file xCAT/postscripts/config_puppet_client

This commit is contained in:
GONG Jie
2017-12-31 23:59:59 +00:00
parent 11f9e91fd5
commit 69c1caa3e4

View File

@@ -4,7 +4,7 @@
#-------------------------------------------------------------------------------
#=head1 config_puppet_client
#=head2 This command configure the puppet client on a xCAT node.
#=head2 This command configure the puppet client on a xCAT node.
# It is used by install_puppet_client on Ubuntu and puppet kit on RH.
#=cut
#-------------------------------------------------------------------------------
@@ -13,10 +13,10 @@ echo "Configuring pupper client....."
#check if the current node is also a puppet master
ismaster=0
if [ -f /etc/puppet/fileserver.conf ]; then
ismaster=1
ismaster=1
fi
#configure the puppet.conf file.
#configure the puppet.conf file.
#the pupper server can be passed as an argument or as an environmental variable
#the default is $SITEMASTER
ARGNUM=$#;
@@ -79,7 +79,7 @@ else
echo " pluginsync = true" >> $confname
echo " server = $puppet_server" >> $confname
echo "# xcat-added-agent-section-end-here #" >> $confname
fi
fi
exit 0