From 73a4c1e3b161aafe8b1980a4ac8ec426cd03abe1 Mon Sep 17 00:00:00 2001 From: GONG Jie Date: Sun, 31 Dec 2017 23:59:59 +0000 Subject: [PATCH] Remove trailing spaces in file xCAT-buildkit/share/xcat/kits/kit_build/puppet/puppet-x86_64/scripts/client.post --- .../puppet/puppet-x86_64/scripts/client.post | 12 ++++++------ 1 file changed, 6 insertions(+), 6 deletions(-) diff --git a/xCAT-buildkit/share/xcat/kits/kit_build/puppet/puppet-x86_64/scripts/client.post b/xCAT-buildkit/share/xcat/kits/kit_build/puppet/puppet-x86_64/scripts/client.post index bdec2334a..a0a548486 100755 --- a/xCAT-buildkit/share/xcat/kits/kit_build/puppet/puppet-x86_64/scripts/client.post +++ b/xCAT-buildkit/share/xcat/kits/kit_build/puppet/puppet-x86_64/scripts/client.post @@ -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