Trivial-Fix: fix typos

Change-Id: I2dde3b2b951b469a889f63ab3fed75978f3de381
This commit is contained in:
Rajesh Tailor
2018-04-18 15:20:30 +05:30
parent 64b42d1d47
commit 69d90c63ac
11 changed files with 14 additions and 14 deletions

View File

@@ -5,7 +5,7 @@ Puppet::Type.newtype(:nova_network) do
ensurable 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 # segments b/c it is actually the combination of network/prefix
# that determine uniqueness # that determine uniqueness
newparam(:network, :namevar => true) do newparam(:network, :namevar => true) do

View File

@@ -201,7 +201,7 @@
# #
# [*allow_resize_to_same_host*] # [*allow_resize_to_same_host*]
# (optional) Allow destination machine to match source for resize. Note that this # (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. # and in others you need it set there.
# Defaults to false # Defaults to false
# #

View File

@@ -42,7 +42,7 @@
# Defaults to 'vmwareapi.VMwareVCDriver' # Defaults to 'vmwareapi.VMwareVCDriver'
# #
# [*insecure*] # [*insecure*]
# (optional) Allow insecure conections. # (optional) Allow insecure connections.
# If true, the vCenter server certificate is not verified. If # If true, the vCenter server certificate is not verified. If
# false, then the default CA truststore is used for verification. This # false, then the default CA truststore is used for verification. This
# option is ignored if 'ca_file' is set. # option is ignored if 'ca_file' is set.

View File

@@ -103,7 +103,7 @@
# Defaults to $::os_service_default # Defaults to $::os_service_default
# #
# [*torrent_seed_chance*] # [*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 # Defaults to $::os_service_default
# #
# [*torrent_seed_duration*] # [*torrent_seed_duration*]

View File

@@ -136,7 +136,7 @@
# #
# [*kombu_compression*] # [*kombu_compression*]
# (optional) Possible values are: gzip, bz2. If not set compression will not # (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) # (string value)
# Defaults to $::os_service_default # Defaults to $::os_service_default
# #
@@ -273,7 +273,7 @@
# Possible values : 'osapi_compute', 'metadata' # Possible values : 'osapi_compute', 'metadata'
# #
# [*cert_file*] # [*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 # Defaults to false, not set
# #
# [*key_file*] # [*key_file*]

View File

@@ -66,7 +66,7 @@
# Defaults to undef (default port for the transport) # Defaults to undef (default port for the transport)
# #
# [*client_extraparams*] # [*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 # See https://libvirt.org/guide/html/Application_Development_Guide-Architecture-Remote_URIs.html
# Defaults to {} # Defaults to {}
# #

View File

@@ -33,7 +33,7 @@
# Defaults to 'RegionOne' # Defaults to 'RegionOne'
# #
# [*os_interface*] # [*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. # the placement API.
# Defaults to $::os_service_default # Defaults to $::os_service_default
# #

View File

@@ -22,7 +22,7 @@
# #
# [*discover_hosts_in_cells_interval*] # [*discover_hosts_in_cells_interval*]
# (optional) This value controls how often (in seconds) the scheduler should # (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 # Defaults to $::os_service_default
# #
class nova::scheduler( class nova::scheduler(

View File

@@ -59,7 +59,7 @@
# Defaults to undef # Defaults to undef
# #
# [*ensure_package*] # [*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' # Defaults to 'present'
# #
# [*ssl_cert*] # [*ssl_cert*]
@@ -85,7 +85,7 @@
# Optional. Defaults to undef. # Optional. Defaults to undef.
# #
# [*custom_wsgi_process_options*] # [*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. # overwrite the default options for the WSGI main process.
# eg. to use a virtual python environment for the WSGI process # eg. to use a virtual python environment for the WSGI process
# you could set it to: # you could set it to:

View File

@@ -2,7 +2,7 @@
# these tests are a little concerning b/c they are hacking around the # 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 # modulepath, so these tests will not catch issues that may eventually arise
# related to loading these plugins. # 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( $LOAD_PATH.push(
File.join( File.join(
File.dirname(__FILE__), File.dirname(__FILE__),

View File

@@ -24,14 +24,14 @@ describe provider_class do
shared_examples 'nova_network' do shared_examples 'nova_network' do
describe '#exists?' 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") 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" .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 expect(provider.exists?).to be_falsey
end end
it 'should check existsing network' do it 'should check existing network' do
provider.expects(:auth_nova).with("network-list") 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" .returns('"+--------------------------------------+-------------+-------------+\n| ID | Label | Cidr |\n+--------------------------------------+-------------+-------------+\n| 703edc62-36ab-4c41-9d73-884b30e9acbd | novanetwork | 10.20.0.0/16 |\n+--------------------------------------+-------------+-------------+\n"
') ')