Fix a typo in ovs_vlan_splinters.rb and ifconfig.pp

TrivialFix

Change-Id: I933aa5ccb9aa17683209a02978694a5e0cc1bed4
This commit is contained in:
gengchc2 2016-09-29 17:56:08 +08:00
parent 6d87e52d9a
commit bfc7e38f40
2 changed files with 4 additions and 4 deletions

View File

@ -1,6 +1,6 @@
# Fact: l2_ovs_vlan_splinters_need_for
#
# Purpose: Return list of intefaces, that needs for enable OVS VLAN splinters.
# Purpose: Return list of interfaces, that needs for enable OVS VLAN splinters.
#
Facter.add(:l2_ovs_vlan_splinters_need_for) do
need = Facter.value(:kernelmajversion) =~ /^(2.\d|3.[0-2])/
@ -32,4 +32,4 @@ Facter.add(:l2_ovs_vlan_splinters_need_for) do
end
end
# vim: set ts=2 sw=2 et :
# vim: set ts=2 sw=2 et :

View File

@ -19,7 +19,7 @@
# if it lies through this interface now.
#
## [*other_nets*]
## Optional. Defines additional networks that this inteface can reach in CIDR
## Optional. Defines additional networks that this interface can reach in CIDR
## format.
## It will be used to add additional routes to this interface.
## other_nets => ['10.10.2.0/24', '10.10.4.0/24']
@ -70,7 +70,7 @@ define l23network::l3::ifconfig (
) {
include ::l23network::params
# setup configure method for inteface
# setup configure method for interface
if is_array($ipaddr) {
# getting array of IP addresses for one interface
$method = 'static'