2
0
mirror of https://github.com/xcat2/xcat-core.git synced 2025-05-21 19:22:05 +00:00

Remove trailing spaces in file xCAT-OpenStack/lib/perl/xCAT/Cloud.pm

This commit is contained in:
GONG Jie 2017-12-31 23:59:59 +00:00
parent 50bbd99295
commit c9816b4849

View File

@ -22,10 +22,10 @@ use strict;
#-----------------------------------------------------------------------------
=head3 getcloudinfo
=head3 getcloudinfo
This function will be invoked by Postage.pm.
get the chef cookbook repository for each cloud from the clouds table, and
This function will be invoked by Postage.pm.
get the chef cookbook repository for each cloud from the clouds table, and
then get all the node --> cloud from the cloud table. The two type information
will be stored in the %info
@ -34,13 +34,13 @@ use strict;
Arguments:
none
Returns:
Returns:
\%info
Error:
none
Example:
Comments:
none
@ -94,10 +94,10 @@ sub getcloudinfo
#-----------------------------------------------------------------------------
=head3 getcloudres
=head3 getcloudres
This function will be invoked by Postage.pm. And it's only for one chef-server.
1. get the chef cookbook repository for the clouds on one chef-server.
This function will be invoked by Postage.pm. And it's only for one chef-server.
1. get the chef cookbook repository for the clouds on one chef-server.
All the clouds's repositoryies on one chef-server should be the same one.
2. get the cloud list for one chef-server
3. get the cloud name for each node on the same chef-server
@ -106,13 +106,13 @@ sub getcloudinfo
Arguments:
$cloudinfo_hash -- This is from the getcloudinfo function.
$clients -- an array which stores different cloud nodes(chef-client)
Returns:
Returns:
$cloudres -- a string including cloud information
Error:
none
Example:
Comments:
none