From f29a6ec54d3bfcdf686379a5ec96416b7b4440b1 Mon Sep 17 00:00:00 2001 From: Pascal Borreli Date: Mon, 4 May 2015 12:54:03 +0100 Subject: [PATCH] Fixed typos --- cloud/amazon/ec2_asg.py | 2 +- cloud/amazon/ec2_elb_lb.py | 10 +++++----- cloud/amazon/ec2_metric_alarm.py | 4 ++-- cloud/amazon/ec2_scaling_policy.py | 2 +- cloud/azure/azure.py | 8 ++++---- cloud/docker/docker.py | 6 +++--- cloud/google/gc_storage.py | 2 +- cloud/google/gce_net.py | 2 +- cloud/openstack/os_auth.py | 2 +- database/mysql/mysql_user.py | 2 +- 10 files changed, 20 insertions(+), 20 deletions(-) diff --git a/cloud/amazon/ec2_asg.py b/cloud/amazon/ec2_asg.py index 7a6d2043e0f..d527247f6c5 100644 --- a/cloud/amazon/ec2_asg.py +++ b/cloud/amazon/ec2_asg.py @@ -58,7 +58,7 @@ options: required: false replace_all_instances: description: - - In a rolling fashion, replace all instances with an old launch configuration with one from the current launch configuraiton. + - In a rolling fashion, replace all instances with an old launch configuration with one from the current launch configuration. required: false version_added: "1.8" default: False diff --git a/cloud/amazon/ec2_elb_lb.py b/cloud/amazon/ec2_elb_lb.py index 442578b9c86..054c1509500 100644 --- a/cloud/amazon/ec2_elb_lb.py +++ b/cloud/amazon/ec2_elb_lb.py @@ -58,7 +58,7 @@ options: version_added: "1.6" health_check: description: - - An associative array of health check configuration settigs (see example) + - An associative array of health check configuration settings (see example) require: false default: None region: @@ -101,7 +101,7 @@ options: version_added: "1.8" cross_az_load_balancing: description: - - Distribute load across all configured Availablity Zones + - Distribute load across all configured Availability Zones required: false default: "no" choices: ["yes", "no"] @@ -193,7 +193,7 @@ EXAMPLES = """ purge_listeners: no # Normally, this module will leave availability zones that are enabled -# on the ELB alone. If purge_zones is true, then any extreneous zones +# on the ELB alone. If purge_zones is true, then any extraneous zones # will be removed - local_action: module: ec2_elb_lb @@ -428,7 +428,7 @@ class ElbManager(object): existing_listener_found = None for existing_listener in self.elb.listeners: # Since ELB allows only one listener on each incoming port, a - # single match on the incomping port is all we're looking for + # single match on the incoming port is all we're looking for if existing_listener[0] == listener['load_balancer_port']: existing_listener_found = self._api_listener_as_tuple(existing_listener) break @@ -437,7 +437,7 @@ class ElbManager(object): # Does it match exactly? if listener_as_tuple != existing_listener_found: # The ports are the same but something else is different, - # so we'll remove the exsiting one and add the new one + # so we'll remove the existing one and add the new one listeners_to_remove.append(existing_listener_found) listeners_to_add.append(listener_as_tuple) else: diff --git a/cloud/amazon/ec2_metric_alarm.py b/cloud/amazon/ec2_metric_alarm.py index bec6dc10d0c..aecd80ecdad 100644 --- a/cloud/amazon/ec2_metric_alarm.py +++ b/cloud/amazon/ec2_metric_alarm.py @@ -29,7 +29,7 @@ options: required: true choices: ['present', 'absent'] name: - desciption: + description: - Unique name for the alarm required: true metric: @@ -71,7 +71,7 @@ options: options: ['Seconds','Microseconds','Milliseconds','Bytes','Kilobytes','Megabytes','Gigabytes','Terabytes','Bits','Kilobits','Megabits','Gigabits','Terabits','Percent','Count','Bytes/Second','Kilobytes/Second','Megabytes/Second','Gigabytes/Second','Terabytes/Second','Bits/Second','Kilobits/Second','Megabits/Second','Gigabits/Second','Terabits/Second','Count/Second','None'] description: description: - - A longer desciption of the alarm + - A longer description of the alarm required: false dimensions: description: diff --git a/cloud/amazon/ec2_scaling_policy.py b/cloud/amazon/ec2_scaling_policy.py index 38ba7f4c385..707f462ec90 100644 --- a/cloud/amazon/ec2_scaling_policy.py +++ b/cloud/amazon/ec2_scaling_policy.py @@ -23,7 +23,7 @@ options: - Name of the associated autoscaling group required: true adjustment_type: - desciption: + description: - The type of change in capacity of the autoscaling group required: false choices: ['ChangeInCapacity','ExactCapacity','PercentChangeInCapacity'] diff --git a/cloud/azure/azure.py b/cloud/azure/azure.py index cc4cd480b1b..31e5254b608 100644 --- a/cloud/azure/azure.py +++ b/cloud/azure/azure.py @@ -34,12 +34,12 @@ options: default: null subscription_id: description: - - azure subscription id. Overrides the AZURE_SUBSCRIPTION_ID environement variable. + - azure subscription id. Overrides the AZURE_SUBSCRIPTION_ID environment variable. required: false default: null management_cert_path: description: - - path to an azure management certificate associated with the subscription id. Overrides the AZURE_CERT_PATH environement variable. + - path to an azure management certificate associated with the subscription id. Overrides the AZURE_CERT_PATH environment variable. required: false default: null storage_account: @@ -184,7 +184,7 @@ AZURE_ROLE_SIZES = ['ExtraSmall', 'Standard_D14', 'Standard_G1', 'Standard_G2', - 'Sandard_G3', + 'Standard_G3', 'Standard_G4', 'Standard_G5'] @@ -398,7 +398,7 @@ def terminate_virtual_machine(module, azure): def get_azure_creds(module): - # Check modul args for credentials, then check environment vars + # Check module args for credentials, then check environment vars subscription_id = module.params.get('subscription_id') if not subscription_id: subscription_id = os.environ.get('AZURE_SUBSCRIPTION_ID', None) diff --git a/cloud/docker/docker.py b/cloud/docker/docker.py index 09daad79e0d..679dcde8523 100644 --- a/cloud/docker/docker.py +++ b/cloud/docker/docker.py @@ -639,7 +639,7 @@ class DockerManager(object): self.docker_py_versioninfo = get_docker_py_versioninfo() - def _check_capabilties(self): + def _check_capabilities(self): """ Create a list of available capabilities """ @@ -660,7 +660,7 @@ class DockerManager(object): we lack the capability. """ if not self._capabilities: - self._check_capabilties() + self._check_capabilities() if capability in self._capabilities: return True @@ -737,7 +737,7 @@ class DockerManager(object): elif p_len == 3: # Bind `container_port` of the container to port `parts[1]` on # IP `parts[0]` of the host machine. If `parts[1]` empty bind - # to a dynamically allocacted port of IP `parts[0]`. + # to a dynamically allocated port of IP `parts[0]`. bind = (parts[0], int(parts[1])) if parts[1] else (parts[0],) if container_port in binds: diff --git a/cloud/google/gc_storage.py b/cloud/google/gc_storage.py index d574bcd4b1a..b9e57eb9303 100644 --- a/cloud/google/gc_storage.py +++ b/cloud/google/gc_storage.py @@ -60,7 +60,7 @@ options: default: '{}' expiration: description: - - Time limit (in seconds) for the URL generated and returned by GCA when performing a mode=put or mode=get_url operation. This url is only avaialbe when public-read is the acl for the object. + - Time limit (in seconds) for the URL generated and returned by GCA when performing a mode=put or mode=get_url operation. This url is only available when public-read is the acl for the object. required: false default: null mode: diff --git a/cloud/google/gce_net.py b/cloud/google/gce_net.py index 8a9b1bf4f6b..6dfb2585d10 100644 --- a/cloud/google/gce_net.py +++ b/cloud/google/gce_net.py @@ -22,7 +22,7 @@ module: gce_net version_added: "1.5" short_description: create/destroy GCE networks and firewall rules description: - - This module can create and destroy Google Compue Engine networks and + - This module can create and destroy Google Compute Engine networks and firewall rules U(https://developers.google.com/compute/docs/networking). The I(name) parameter is reserved for referencing a network while the I(fwname) parameter is used to reference firewall rules. diff --git a/cloud/openstack/os_auth.py b/cloud/openstack/os_auth.py index 920fd25232f..87e5b465082 100644 --- a/cloud/openstack/os_auth.py +++ b/cloud/openstack/os_auth.py @@ -33,7 +33,7 @@ extends_documentation_fragment: openstack ''' EXAMPLES = ''' -# Authenticate to the cloud and retreive the service catalog +# Authenticate to the cloud and retrieve the service catalog - os_auth: cloud: rax-dfw - debug: var=service_catalog diff --git a/database/mysql/mysql_user.py b/database/mysql/mysql_user.py index 1888cc854ec..b04dc2d89ac 100644 --- a/database/mysql/mysql_user.py +++ b/database/mysql/mysql_user.py @@ -129,7 +129,7 @@ EXAMPLES = """ # Creates database user 'bob' and password '12345' with all database privileges and 'WITH GRANT OPTION' - mysql_user: name=bob password=12345 priv=*.*:ALL,GRANT state=present -# Modifiy user Bob to require SSL connections. Note that REQUIRESSL is a special privilege that should only apply to *.* by itself. +# Modify user Bob to require SSL connections. Note that REQUIRESSL is a special privilege that should only apply to *.* by itself. - mysql_user: name=bob append_privs=true priv=*.*:REQUIRESSL state=present # Ensure no user named 'sally' exists, also passing in the auth credentials.