From 4dcaa9d9fbe7c00d32c44a0124544d453e1505ba Mon Sep 17 00:00:00 2001 From: "Carlos E. Garcia" Date: Tue, 29 Apr 2014 10:41:05 -0400 Subject: [PATCH] multiple spelling error changes --- cloud/ec2_elb | 2 +- cloud/ec2_vpc | 4 ++-- cloud/gc_storage | 6 +++--- cloud/quantum_network | 2 +- cloud/quantum_router | 2 +- cloud/quantum_router_interface | 2 +- cloud/quantum_subnet | 2 +- cloud/rax_files_objects | 2 +- cloud/s3 | 2 +- commands/script | 2 +- database/redis | 6 +++--- files/acl | 2 +- files/xattr | 2 +- net_infrastructure/arista_interface | 2 +- net_infrastructure/arista_l2interface | 2 +- net_infrastructure/arista_lag | 2 +- net_infrastructure/arista_vlan | 2 +- net_infrastructure/bigip_monitor_http | 2 +- net_infrastructure/bigip_monitor_tcp | 2 +- net_infrastructure/dnsimple | 4 ++-- notification/mail | 2 +- packaging/redhat_subscription | 2 +- system/group | 2 +- system/locale_gen | 4 ++-- system/service | 2 +- 25 files changed, 32 insertions(+), 32 deletions(-) diff --git a/cloud/ec2_elb b/cloud/ec2_elb index 228048d3814..42cb1819025 100644 --- a/cloud/ec2_elb +++ b/cloud/ec2_elb @@ -201,7 +201,7 @@ class ElbManager: self.module.fail_json(msg=msg % (self.instance_id, lb)) if instance_state.state == awaited_state: - # Check the current state agains the initial state, and only set + # Check the current state against the initial state, and only set # changed if they are different. if (initial_state is None) or (instance_state.state != initial_state.state): self.changed = True diff --git a/cloud/ec2_vpc b/cloud/ec2_vpc index 683dd20d461..cbbf2c2d392 100644 --- a/cloud/ec2_vpc +++ b/cloud/ec2_vpc @@ -137,7 +137,7 @@ EXAMPLES = ''' resource_tags: { "Environment":"Development" } region: us-west-2 # Full creation example with subnets and optional availability zones. -# The absence or presense of subnets deletes or creates them respectively. +# The absence or presence of subnets deletes or creates them respectively. local_action: module: ec2_vpc state: present @@ -400,7 +400,7 @@ def create_vpc(module, vpc_conn): # indempotent is to basically build all the route tables as # defined, track the route table ids, and then run through the # remote list of route tables and delete any that we didn't - # create. This shouldn't interupt traffic in theory, but is the + # create. This shouldn't interrupt traffic in theory, but is the # only way to really work with route tables over time that I can # think of without using painful aws ids. Hopefully boto will add # the replace-route-table API to make this smoother and diff --git a/cloud/gc_storage b/cloud/gc_storage index 8696f8e965d..1963a148da2 100644 --- a/cloud/gc_storage +++ b/cloud/gc_storage @@ -317,7 +317,7 @@ def handle_create(module, gs, bucket, obj): if bucket_check(module, gs, bucket): module.exit_json(msg="Bucket already exists.", changed=False) else: - module.exit_json(msg="Bucket created succesfully", changed=create_bucket(module, gs, bucket)) + module.exit_json(msg="Bucket created successfully", changed=create_bucket(module, gs, bucket)) if bucket and obj: if bucket_check(module, gs, bucket): if obj.endswith('/'): @@ -362,10 +362,10 @@ def main(): if mode == 'put': if not src or not object: - module.fail_json(msg="When using PUT, src, bucket, object are mandatory paramters") + module.fail_json(msg="When using PUT, src, bucket, object are mandatory parameters") if mode == 'get': if not dest or not object: - module.fail_json(msg="When using GET, dest, bucket, object are mandatory paramters") + module.fail_json(msg="When using GET, dest, bucket, object are mandatory parameters") if obj: obj = os.path.expanduser(module.params['object']) diff --git a/cloud/quantum_network b/cloud/quantum_network index 744fe44d8dc..7cb98d9e160 100644 --- a/cloud/quantum_network +++ b/cloud/quantum_network @@ -168,7 +168,7 @@ def _set_tenant_id(module): _os_tenant_id = tenant.id break if not _os_tenant_id: - module.fail_json(msg = "The tenant id cannot be found, please check the paramters") + module.fail_json(msg = "The tenant id cannot be found, please check the parameters") def _get_net_id(neutron, module): diff --git a/cloud/quantum_router b/cloud/quantum_router index 36e027eccd1..585e22b189c 100644 --- a/cloud/quantum_router +++ b/cloud/quantum_router @@ -139,7 +139,7 @@ def _set_tenant_id(module): _os_tenant_id = tenant.id break if not _os_tenant_id: - module.fail_json(msg = "The tenant id cannot be found, please check the paramters") + module.fail_json(msg = "The tenant id cannot be found, please check the parameters") def _get_router_id(module, neutron): diff --git a/cloud/quantum_router_interface b/cloud/quantum_router_interface index 47e5f6b211a..69be885d67d 100644 --- a/cloud/quantum_router_interface +++ b/cloud/quantum_router_interface @@ -140,7 +140,7 @@ def _set_tenant_id(module): _os_tenant_id = tenant.id break if not _os_tenant_id: - module.fail_json(msg = "The tenant id cannot be found, please check the paramters") + module.fail_json(msg = "The tenant id cannot be found, please check the parameters") def _get_router_id(module, neutron): diff --git a/cloud/quantum_subnet b/cloud/quantum_subnet index 17f7a6a0056..cd28ae4f801 100644 --- a/cloud/quantum_subnet +++ b/cloud/quantum_subnet @@ -169,7 +169,7 @@ def _set_tenant_id(module): _os_tenant_id = tenant.id break if not _os_tenant_id: - module.fail_json(msg = "The tenant id cannot be found, please check the paramters") + module.fail_json(msg = "The tenant id cannot be found, please check the parameters") def _get_net_id(neutron, module): kwargs = { diff --git a/cloud/rax_files_objects b/cloud/rax_files_objects index d7f11900ab9..1f4389e89ba 100644 --- a/cloud/rax_files_objects +++ b/cloud/rax_files_objects @@ -351,7 +351,7 @@ def download(module, cf, container, src, dest, structure): def delete(module, cf, container, src, dest): """ Delete specific objects by proving a single file name or a - comma-separated list to src OR dest (but not both). Ommitting file name(s) + comma-separated list to src OR dest (but not both). Omitting file name(s) assumes the entire container is to be deleted. """ objs = None diff --git a/cloud/s3 b/cloud/s3 index 715c0e00ab9..dcb39b53736 100644 --- a/cloud/s3 +++ b/cloud/s3 @@ -443,7 +443,7 @@ def main(): if bucketrtn is True: module.exit_json(msg="Bucket already exists.", changed=False) else: - module.exit_json(msg="Bucket created succesfully", changed=create_bucket(module, s3, bucket)) + module.exit_json(msg="Bucket created successfully", changed=create_bucket(module, s3, bucket)) if bucket and obj: bucketrtn = bucket_check(module, s3, bucket) if obj.endswith('/'): diff --git a/commands/script b/commands/script index 276d16c4034..01a1ae34e71 100644 --- a/commands/script +++ b/commands/script @@ -7,7 +7,7 @@ short_description: Runs a local script on a remote node after transferring it description: - "The M(script) module takes the script name followed by a list of space-delimited arguments. " - - "The local script at path will be transfered to the remote node and then executed. " + - "The local script at path will be transferred to the remote node and then executed. " - "The given script will be processed through the shell environment on the remote node. " - "This module does not require python on the remote system, much like the M(raw) module. " diff --git a/database/redis b/database/redis index 59a1bde7277..eb9654631e7 100644 --- a/database/redis +++ b/database/redis @@ -198,7 +198,7 @@ def main(): pass mode = module.params['slave_mode'] - #Check if we ahve all the data + #Check if we have all the data if mode == "slave": # Only need data if we want to be slave if not master_host: module.fail_json( @@ -235,7 +235,7 @@ def main(): else: # Do the stuff # (Check Check_mode before commands so the commands aren't evaluated - # if not necesary) + # if not necessary) if mode == "slave": if module.check_mode or\ set_slave_mode(r, master_host, master_port): @@ -281,7 +281,7 @@ def main(): # Do the stuff # (Check Check_mode before commands so the commands aren't evaluated - # if not necesary) + # if not necessary) if mode == "all": if module.check_mode or flush(r): module.exit_json(changed=True, flushed=True) diff --git a/files/acl b/files/acl index 93431ecf472..39a98c73db9 100644 --- a/files/acl +++ b/files/acl @@ -77,7 +77,7 @@ options: required: false default: null description: - - DEPRECATED. The acl to set or remove. This must always be quoted in the form of '::'. The qualifier may be empty for some types, but the type and perms are always requried. '-' can be used as placeholder when you do not care about permissions. This is now superceeded by entity, type and permissions fields. + - DEPRECATED. The acl to set or remove. This must always be quoted in the form of '::'. The qualifier may be empty for some types, but the type and perms are always requried. '-' can be used as placeholder when you do not care about permissions. This is now superseded by entity, type and permissions fields. author: Brian Coca notes: diff --git a/files/xattr b/files/xattr index 25179e3c628..94115ae3b51 100644 --- a/files/xattr +++ b/files/xattr @@ -165,7 +165,7 @@ def main(): res = {} if key is None and state in ['present','absent']: - module.fail_json(msg="%s needs a key paramter" % state) + module.fail_json(msg="%s needs a key parameter" % state) # All xattr must begin in user namespace if key is not None and not re.match('^user\.',key): diff --git a/net_infrastructure/arista_interface b/net_infrastructure/arista_interface index 75a375b7427..25af801ef6c 100644 --- a/net_infrastructure/arista_interface +++ b/net_infrastructure/arista_interface @@ -145,7 +145,7 @@ class AristaInterface(object): """ This method will return a dictionary with the attributes of the physical ethernet interface resource specified in interface_id. The physcial ethernet interface resource has the following - stucture: + structure: { "interface_id": , diff --git a/net_infrastructure/arista_l2interface b/net_infrastructure/arista_l2interface index a41d5a84ebd..0115ab15ddd 100644 --- a/net_infrastructure/arista_l2interface +++ b/net_infrastructure/arista_l2interface @@ -154,7 +154,7 @@ class AristaL2Interface(object): def get(self): """ This method will return a dictionary with the attributes of the layer 2 interface resource specified in interface_id. The layer - 2 interface resource has the following stucture: + 2 interface resource has the following structure: { "interface_id": , diff --git a/net_infrastructure/arista_lag b/net_infrastructure/arista_lag index e8d23d11f9d..5516dde83ff 100644 --- a/net_infrastructure/arista_lag +++ b/net_infrastructure/arista_lag @@ -143,7 +143,7 @@ class AristaLag(object): def get(self): """ This method will return a dictionary with the attributes of the lag interface resource specified in interface_id. The lag - interface resource has the following stucture: + interface resource has the following structure: { "interface_id": , diff --git a/net_infrastructure/arista_vlan b/net_infrastructure/arista_vlan index 2a16bc3fb5e..f1f28bcd4c9 100644 --- a/net_infrastructure/arista_vlan +++ b/net_infrastructure/arista_vlan @@ -234,7 +234,7 @@ class AristaVlan(object): def get(self): """ This method will return a dictionary with the attributes of the VLAN resource identified in vlan_id. The VLAN resource has the - following stucture: + following structure: { "vlan_id": , diff --git a/net_infrastructure/bigip_monitor_http b/net_infrastructure/bigip_monitor_http index 7a05808e74c..969402fc876 100644 --- a/net_infrastructure/bigip_monitor_http +++ b/net_infrastructure/bigip_monitor_http @@ -101,7 +101,7 @@ options: default: none port: description: - - port address part op the ipport definition. Tyhe default API + - port address part op the ipport definition. The default API setting is 0. required: false default: none diff --git a/net_infrastructure/bigip_monitor_tcp b/net_infrastructure/bigip_monitor_tcp index 61ed21178a6..a93b08f8e22 100644 --- a/net_infrastructure/bigip_monitor_tcp +++ b/net_infrastructure/bigip_monitor_tcp @@ -101,7 +101,7 @@ options: default: none port: description: - - port address part op the ipport definition. Tyhe default API + - port address part op the ipport definition. The default API setting is 0. required: false default: none diff --git a/net_infrastructure/dnsimple b/net_infrastructure/dnsimple index 5bb53198945..19b167dee19 100755 --- a/net_infrastructure/dnsimple +++ b/net_infrastructure/dnsimple @@ -24,7 +24,7 @@ description: options: account_email: description: - - "Account email. If ommitted, the env variables DNSIMPLE_EMAIL and DNSIMPLE_API_TOKEN will be looked for. If those aren't found, a C(.dnsimple) file will be looked for, see: U(https://github.com/mikemaccana/dnsimple-python#getting-started)" + - "Account email. If omitted, the env variables DNSIMPLE_EMAIL and DNSIMPLE_API_TOKEN will be looked for. If those aren't found, a C(.dnsimple) file will be looked for, see: U(https://github.com/mikemaccana/dnsimple-python#getting-started)" required: false default: null @@ -36,7 +36,7 @@ options: domain: description: - - Domain to work with. Can be the domain name (e.g. "mydomain.com") or the numeric ID of the domain in DNSimple. If ommitted, a list of domains will be returned. + - Domain to work with. Can be the domain name (e.g. "mydomain.com") or the numeric ID of the domain in DNSimple. If omitted, a list of domains will be returned. - If domain is present but the domain doesn't exist, it will be created. required: false default: null diff --git a/notification/mail b/notification/mail index 56211c6807e..34cd3a09bf3 100644 --- a/notification/mail +++ b/notification/mail @@ -98,7 +98,7 @@ options: description: - The character set of email being sent default: 'us-ascii' - requred: false + required: false """ EXAMPLES = ''' diff --git a/packaging/redhat_subscription b/packaging/redhat_subscription index f9918ada4b0..a7fa43206b1 100644 --- a/packaging/redhat_subscription +++ b/packaging/redhat_subscription @@ -286,7 +286,7 @@ class RhsmPools(object): def _load_product_list(self): """ - Loads list of all availaible pools for system in data structure + Loads list of all available pools for system in data structure """ args = "subscription-manager list --available" rc, stdout, stderr = self.module.run_command(args, check_rc=True) diff --git a/system/group b/system/group index 7aaf7ed2b44..6320e7ec9b3 100644 --- a/system/group +++ b/system/group @@ -145,7 +145,7 @@ class Group(object): class SunOS(Group): """ - This is a SunOS Group manipulation class. Solaris doesnt have + This is a SunOS Group manipulation class. Solaris doesn't have the 'system' group concept. This overrides the following methods from the generic class:- diff --git a/system/locale_gen b/system/locale_gen index 6225ce236dc..12eab8dbc8f 100644 --- a/system/locale_gen +++ b/system/locale_gen @@ -57,7 +57,7 @@ def apply_change(targetState, name, encoding): """Create or remove locale. Keyword arguments: - targetState -- Desired state, eiter present or absent. + targetState -- Desired state, either present or absent. name -- Name including encoding such as de_CH.UTF-8. encoding -- Encoding such as UTF-8. """ @@ -76,7 +76,7 @@ def apply_change_ubuntu(targetState, name, encoding): """Create or remove locale. Keyword arguments: - targetState -- Desired state, eiter present or absent. + targetState -- Desired state, either present or absent. name -- Name including encoding such as de_CH.UTF-8. encoding -- Encoding such as UTF-8. """ diff --git a/system/service b/system/service index ec622acebcf..4abf5190a0a 100644 --- a/system/service +++ b/system/service @@ -533,7 +533,7 @@ class LinuxService(Service): # if the job status is still not known check it by status output keywords if self.running is None: - # first tranform the status output that could irritate keyword matching + # first transform the status output that could irritate keyword matching cleanout = status_stdout.lower().replace(self.name.lower(), '') if "stop" in cleanout: self.running = False