Bulk spelling improvement to modules-core (#5225)

* Correct spelling mistakes

* Correct more spelling issues

* merge conflict

* Revert typo in parms
This commit is contained in:
John R Barker 2016-10-13 15:47:50 +01:00 committed by Matt Clay
commit 25b6492d37
91 changed files with 908 additions and 148 deletions

View file

@ -492,9 +492,9 @@ def terminate_virtual_machine(module, azure):
except AzureException as e:
module.fail_json(msg="failed to delete the deployment %s, error was: %s" % (deployment.name, str(e)))
# It's unclear when disks associated with terminated deployment get detatched.
# It's unclear when disks associated with terminated deployment get detached.
# Thus, until the wait_timeout is reached, we continue to delete disks as they
# become detatched by polling the list of remaining disks and examining the state.
# become detached by polling the list of remaining disks and examining the state.
try:
_delete_disks_when_detached(azure, wait_timeout, disk_names)
except (AzureException, TimeoutError) as e:

View file

@ -185,7 +185,7 @@ blob:
"type": "BlockBlob"
}
container:
description: Facts about the current state of the selcted container.
description: Facts about the current state of the selected container.
returned: always
type: dict
sample: {

View file

@ -158,7 +158,7 @@ options:
required: false
public_ip_allocation_method:
description:
- If a public IP address is created when creating the VM (beacuse a Network Interface was not provided),
- If a public IP address is created when creating the VM (because a Network Interface was not provided),
determines if the public IP address remains permanently associated with the Network Interface. If set
to 'Dynamic' the public IP address may change any time the VM is rebooted or power cycled.
choices:
@ -300,7 +300,7 @@ deleted_network_interfaces:
type: list
example: ["testvm1001"]
deleted_public_ips:
description: List of deleted publid IP addrees names.
description: List of deleted public IP address names.
returned: 'on delete'
type: list
example: ["testvm1001"]
@ -913,7 +913,7 @@ class AzureRMVirtualMachine(AzureRMModuleBase):
interface_dict['name'] = int_dict['networkInterfaces']
interface_dict['properties'] = nic_dict['properties']
# Expand public IPs to include config porperties
# Expand public IPs to include config properties
for interface in result['properties']['networkProfile']['networkInterfaces']:
for config in interface['properties']['ipConfigurations']:
if config['properties'].get('publicIPAddress'):