From 6de5c04f10d7409e7d9ffcd4797f52c94bf7a770 Mon Sep 17 00:00:00 2001 From: chenglch Date: Tue, 17 May 2016 02:08:12 -0400 Subject: [PATCH] Fix typo error about hierarchical attributes --- docs/source/guides/admin-guides/references/man5/site.5.rst | 2 +- perl-xCAT/xCAT/Schema.pm | 2 +- perl-xCAT/xCAT/Table.pm | 2 +- 3 files changed, 3 insertions(+), 3 deletions(-) diff --git a/docs/source/guides/admin-guides/references/man5/site.5.rst b/docs/source/guides/admin-guides/references/man5/site.5.rst index b93dd663e..6c0495904 100644 --- a/docs/source/guides/admin-guides/references/man5/site.5.rst +++ b/docs/source/guides/admin-guides/references/man5/site.5.rst @@ -380,7 +380,7 @@ site Attributes: entries generated by 'makehosts' will put the FQDN before the PQDN(Partially Qualified Domain Name). Otherwise, the original behavior will be performed. - heirarchicalattrs: Table attributes(e.g. postscripts, postbootscripts) that will be + hierarchicalattrs: Table attributes(e.g. postscripts, postbootscripts) that will be included hierarchically. Attribute values for all the node's groups will be applied to the node in the groups' order except the repeat one. diff --git a/perl-xCAT/xCAT/Schema.pm b/perl-xCAT/xCAT/Schema.pm index 402d1aa0a..e7b7b0d97 100755 --- a/perl-xCAT/xCAT/Schema.pm +++ b/perl-xCAT/xCAT/Schema.pm @@ -1188,7 +1188,7 @@ use xCAT::ExtTab; "FQDNfirst: Fully Qualified Domain Name first. If set to 1/yes/enable, the /etc/hosts \n" . " entries generated by 'makehosts' will put the FQDN before the PQDN(Partially \n" . " Qualified Domain Name). Otherwise, the original behavior will be performed.\n\n" . -"heirarchicalattrs: Table attributes(e.g. postscripts, postbootscripts) that will be\n". +"hierarchicalattrs: Table attributes(e.g. postscripts, postbootscripts) that will be\n". " included hierarchically. Attribute values for all the node's groups\n". " will be applied to the node in the groups' order except the repeat one.\n\n". " -----------------------\n" . diff --git a/perl-xCAT/xCAT/Table.pm b/perl-xCAT/xCAT/Table.pm index e7d9c4166..3f9e39165 100644 --- a/perl-xCAT/xCAT/Table.pm +++ b/perl-xCAT/xCAT/Table.pm @@ -2555,7 +2555,7 @@ sub getNodeAttribs_nosub_returnany my $attrib; my $result; my @hierarchy_attrs; - my $hierarchy_field = xCAT::TableUtils->get_site_attribute("heirarchicalattrs"); + my $hierarchy_field = xCAT::TableUtils->get_site_attribute("hierarchicalattrs"); if ($hierarchy_field) { @hierarchy_attrs = split(/,/, $hierarchy_field); }