diff --git a/lib/puppet/type/nova_network.rb b/lib/puppet/type/nova_network.rb index ebd6598c2..0fde60950 100644 --- a/lib/puppet/type/nova_network.rb +++ b/lib/puppet/type/nova_network.rb @@ -5,7 +5,7 @@ Puppet::Type.newtype(:nova_network) do ensurable - # there are concerns about determining uniqiueness of network + # there are concerns about determining uniqueness of network # segments b/c it is actually the combination of network/prefix # that determine uniqueness newparam(:network, :namevar => true) do diff --git a/manifests/api.pp b/manifests/api.pp index c1a5ecf25..43e849fcf 100644 --- a/manifests/api.pp +++ b/manifests/api.pp @@ -201,7 +201,7 @@ # # [*allow_resize_to_same_host*] # (optional) Allow destination machine to match source for resize. Note that this -# is also settable in the compute class. In some sitautions you need it set here +# is also settable in the compute class. In some situations you need it set here # and in others you need it set there. # Defaults to false # diff --git a/manifests/compute/vmware.pp b/manifests/compute/vmware.pp index 754637b2f..b150dbf87 100644 --- a/manifests/compute/vmware.pp +++ b/manifests/compute/vmware.pp @@ -42,7 +42,7 @@ # Defaults to 'vmwareapi.VMwareVCDriver' # # [*insecure*] -# (optional) Allow insecure conections. +# (optional) Allow insecure connections. # If true, the vCenter server certificate is not verified. If # false, then the default CA truststore is used for verification. This # option is ignored if 'ca_file' is set. diff --git a/manifests/compute/xenserver.pp b/manifests/compute/xenserver.pp index 8a39f6125..3e331651c 100644 --- a/manifests/compute/xenserver.pp +++ b/manifests/compute/xenserver.pp @@ -103,7 +103,7 @@ # Defaults to $::os_service_default # # [*torrent_seed_chance*] -# (optional) Probability that peer will become a seeder. (1.0 = 100%) (floating poin value) +# (optional) Probability that peer will become a seeder. (1.0 = 100%) (floating point value) # Defaults to $::os_service_default # # [*torrent_seed_duration*] diff --git a/manifests/init.pp b/manifests/init.pp index d5a399e27..67610aa03 100644 --- a/manifests/init.pp +++ b/manifests/init.pp @@ -136,7 +136,7 @@ # # [*kombu_compression*] # (optional) Possible values are: gzip, bz2. If not set compression will not -# be used. This option may notbe available in future versions. EXPERIMENTAL. +# be used. This option may not be available in future versions. EXPERIMENTAL. # (string value) # Defaults to $::os_service_default # @@ -273,7 +273,7 @@ # Possible values : 'osapi_compute', 'metadata' # # [*cert_file*] -# (optinal) Certificate file to use when starting API server securely +# (optional) Certificate file to use when starting API server securely # Defaults to false, not set # # [*key_file*] diff --git a/manifests/migration/libvirt.pp b/manifests/migration/libvirt.pp index 8c7837d7d..acbd06647 100644 --- a/manifests/migration/libvirt.pp +++ b/manifests/migration/libvirt.pp @@ -66,7 +66,7 @@ # Defaults to undef (default port for the transport) # # [*client_extraparams*] -# (optional) Hash of additional params to append to the live-migraition uri +# (optional) Hash of additional params to append to the live-migration uri # See https://libvirt.org/guide/html/Application_Development_Guide-Architecture-Remote_URIs.html # Defaults to {} # diff --git a/manifests/placement.pp b/manifests/placement.pp index 7ee6bfba0..d98467c9b 100644 --- a/manifests/placement.pp +++ b/manifests/placement.pp @@ -33,7 +33,7 @@ # Defaults to 'RegionOne' # # [*os_interface*] -# (optional) interface name name used for getting the keystone endpoint for +# (optional) interface name used for getting the keystone endpoint for # the placement API. # Defaults to $::os_service_default # diff --git a/manifests/scheduler.pp b/manifests/scheduler.pp index 368a88fd9..3381f0fc4 100644 --- a/manifests/scheduler.pp +++ b/manifests/scheduler.pp @@ -22,7 +22,7 @@ # # [*discover_hosts_in_cells_interval*] # (optional) This value controls how often (in seconds) the scheduler should -# attept to discover new hosts that have been added to cells. +# attempt to discover new hosts that have been added to cells. # Defaults to $::os_service_default # class nova::scheduler( diff --git a/manifests/wsgi/apache_placement.pp b/manifests/wsgi/apache_placement.pp index 805b3a3a2..57b366c97 100644 --- a/manifests/wsgi/apache_placement.pp +++ b/manifests/wsgi/apache_placement.pp @@ -59,7 +59,7 @@ # Defaults to undef # # [*ensure_package*] -# (optional) Control the ensure parameter for the Nova Placement API package ressource. +# (optional) Control the ensure parameter for the Nova Placement API package resource. # Defaults to 'present' # # [*ssl_cert*] @@ -85,7 +85,7 @@ # Optional. Defaults to undef. # # [*custom_wsgi_process_options*] -# (optional) gives you the oportunity to add custom process options or to +# (optional) gives you the opportunity to add custom process options or to # overwrite the default options for the WSGI main process. # eg. to use a virtual python environment for the WSGI process # you could set it to: diff --git a/spec/unit/provider/nova_config/openstackconfig_spec.rb b/spec/unit/provider/nova_config/openstackconfig_spec.rb index 00bf3480d..d602cecdd 100644 --- a/spec/unit/provider/nova_config/openstackconfig_spec.rb +++ b/spec/unit/provider/nova_config/openstackconfig_spec.rb @@ -2,7 +2,7 @@ # these tests are a little concerning b/c they are hacking around the # modulepath, so these tests will not catch issues that may eventually arise # related to loading these plugins. -# I could not, for the life of me, figure out how to programatcally set the modulepath +# I could not, for the life of me, figure out how to programmatically set the modulepath $LOAD_PATH.push( File.join( File.dirname(__FILE__), diff --git a/spec/unit/provider/nova_network/nova_spec.rb b/spec/unit/provider/nova_network/nova_spec.rb index 091a0982c..fdcce24bd 100644 --- a/spec/unit/provider/nova_network/nova_spec.rb +++ b/spec/unit/provider/nova_network/nova_spec.rb @@ -24,14 +24,14 @@ describe provider_class do shared_examples 'nova_network' do describe '#exists?' do - it 'should check non-existsing network' do + it 'should check non-existing network' do provider.expects(:auth_nova).with("network-list") .returns('"+--------------------------------------+-------------+-------------+\n| ID | Label | Cidr |\n+--------------------------------------+-------------+-------------+\n| 703edc62-36ab-4c41-9d73-884b30e9acbd | novanetwork | 10.0.0.0/16 |\n+--------------------------------------+-------------+-------------+\n" ') expect(provider.exists?).to be_falsey end - it 'should check existsing network' do + it 'should check existing network' do provider.expects(:auth_nova).with("network-list") .returns('"+--------------------------------------+-------------+-------------+\n| ID | Label | Cidr |\n+--------------------------------------+-------------+-------------+\n| 703edc62-36ab-4c41-9d73-884b30e9acbd | novanetwork | 10.20.0.0/16 |\n+--------------------------------------+-------------+-------------+\n" ')