From 71a9a0b927ba64301bb92b17b87a88ea1994fa7b Mon Sep 17 00:00:00 2001 From: Dan Prince Date: Mon, 15 Dec 2014 15:50:43 -0500 Subject: [PATCH] Fix 'network' (newtork) mispellings The neutron::l3_agent::newtork_device_mtu deprecation message is mispelled. Also fixes the 'newtork' spelling in a couple other places as well. Change-Id: Ica506a404c2076bb188d6085d8ce675e299a20a4 --- README.md | 2 +- manifests/agents/l3.pp | 4 ++-- spec/classes/neutron_init_spec.rb | 2 +- 3 files changed, 4 insertions(+), 4 deletions(-) diff --git a/README.md b/README.md index 7fedc8c15..40a26586f 100644 --- a/README.md +++ b/README.md @@ -17,7 +17,7 @@ neutron Overview -------- -The neutron module is a part of [Stackforge](https://github.com/stackforge), an effort by the Openstack infrastructure team to provide continuous integration testing and code review for Openstack and Openstack community projects not part of the core software. The module itself is used to flexibly configure and manage the newtork service for Openstack. +The neutron module is a part of [Stackforge](https://github.com/stackforge), an effort by the Openstack infrastructure team to provide continuous integration testing and code review for Openstack and Openstack community projects not part of the core software. The module itself is used to flexibly configure and manage the network service for Openstack. Module Description ------------------ diff --git a/manifests/agents/l3.pp b/manifests/agents/l3.pp index 55d303a30..42ce134a3 100644 --- a/manifests/agents/l3.pp +++ b/manifests/agents/l3.pp @@ -164,12 +164,12 @@ class neutron::agents::l3 ( } if $network_device_mtu { - warning('The neutron::l3_agent::newtork_device_mtu parameter is deprecated, use neutron::newtork_device_mtu instead.') + warning('The neutron::l3_agent::network_device_mtu parameter is deprecated, use neutron::network_device_mtu instead.') neutron_l3_agent_config { 'DEFAULT/network_device_mtu': value => $network_device_mtu; } } else { - warning('The neutron::l3_agent::newtork_device_mtu parameter is deprecated, use neutron::newtork_device_mtu instead.') + warning('The neutron::l3_agent::network_device_mtu parameter is deprecated, use neutron::network_device_mtu instead.') neutron_l3_agent_config { 'DEFAULT/network_device_mtu': ensure => absent; } diff --git a/spec/classes/neutron_init_spec.rb b/spec/classes/neutron_init_spec.rb index 03ef46508..b0a9038a5 100644 --- a/spec/classes/neutron_init_spec.rb +++ b/spec/classes/neutron_init_spec.rb @@ -395,7 +395,7 @@ describe 'neutron' do end it do - should contina_neutron_config('DEFAULT/network_device_mtu').with_value(params[:newtork_device_mtu]) + should contain_neutron_config('DEFAULT/network_device_mtu').with_value(params[:network_device_mtu]) end end