Skip to content

Commit

Permalink
Adding additional spelling corrections
Browse files Browse the repository at this point in the history
  • Loading branch information
george-ghawali committed Sep 29, 2024
1 parent 55a0373 commit d25b5a7
Show file tree
Hide file tree
Showing 21 changed files with 31 additions and 31 deletions.
2 changes: 1 addition & 1 deletion CHANGELOG.rst
Original file line number Diff line number Diff line change
Expand Up @@ -274,7 +274,7 @@ Bugfixes
- Bug/cluster UUID issue68 [\#72](https://github.com/nutanix/nutanix.ansible/pull/72)
- Client SDK with inventory [\#45](https://github.com/nutanix/nutanix.ansible/pull/45)
- Creating a VM based on a disk_image without specifying the size_gb
- Fix error messages for get_uuid() reponse [\#47](https://github.com/nutanix/nutanix.ansible/pull/47)
- Fix error messages for get_uuid() response [\#47](https://github.com/nutanix/nutanix.ansible/pull/47)
- Fix/integ [\#96](https://github.com/nutanix/nutanix.ansible/pull/96)
- Sanity and python fix [\#46](https://github.com/nutanix/nutanix.ansible/pull/46)
- Task/fix failing sanity [\#117](https://github.com/nutanix/nutanix.ansible/pull/117)
Expand Down
2 changes: 1 addition & 1 deletion plugins/inventory/ntnx_prism_vm_inventory.py
Original file line number Diff line number Diff line change
Expand Up @@ -93,7 +93,7 @@ def jsonify(self, data):


class InventoryModule(BaseInventoryPlugin, Constructable):
"""Nutanix VM dynamic invetory module for ansible"""
"""Nutanix VM dynamic inventory module for ansible"""

NAME = "nutanix.ncp.ntnx_prism_vm_inventory"

Expand Down
2 changes: 1 addition & 1 deletion plugins/module_utils/foundation/image_nodes.py
Original file line number Diff line number Diff line change
Expand Up @@ -404,7 +404,7 @@ def _get_default_node_spec(self, node):
"ucsm_node_serial": None,
"ucsm_managed_mode": None,
"ucsm_params": None,
"exlude_boot_serial": False,
"exclude_boot_serial": False,
"mitigate_low_boot_space": False,
"bond_uplinks": [],
"vswitches": [],
Expand Down
2 changes: 1 addition & 1 deletion plugins/module_utils/prism/protection_rules.py
Original file line number Diff line number Diff line change
Expand Up @@ -110,7 +110,7 @@ def _build_spec_schedules(self, payload, schedules):
):
return (
None,
"rpo, rpo_unit, snapshot_type and atleast one policy are required fields for asynchronous snapshot schedule",
"rpo, rpo_unit, snapshot_type and at least one policy are required fields for asynchronous snapshot schedule",
)

spec["recovery_point_objective_secs"], err = convert_to_secs(
Expand Down
18 changes: 9 additions & 9 deletions plugins/modules/ntnx_foundation.py
Original file line number Diff line number Diff line change
Expand Up @@ -207,7 +207,7 @@
required: false
bond_mode:
description:
- bonde mode, "dynamic" if using LACP, "static" for LAG
- bond mode, "dynamic" if using LACP, "static" for LAG
type: str
choices:
- dynamic
Expand Down Expand Up @@ -247,7 +247,7 @@
- UCSM node serial
type: bool
required: false
exlude_boot_serial:
exclude_boot_serial:
description:
- serial of boot device to be excluded, used by NX G6 platforms
type: bool
Expand Down Expand Up @@ -327,7 +327,7 @@
required: false
discovery_mode:
description:
- discover and use existing network informatio pulled from internal info apis
- discover and use existing network information pulled from internal info apis
- mutually exclusive with manual_mode
- can override certain fields, which are pulled during discovery
type: dict
Expand Down Expand Up @@ -471,7 +471,7 @@
required: false
bond_mode:
description:
- bonde mode, "dynamic" if using LACP, "static" for LAG
- bond mode, "dynamic" if using LACP, "static" for LAG
type: str
choices:
- dynamic
Expand Down Expand Up @@ -501,7 +501,7 @@
- UCSM Managed mode
type: str
required: false
exlude_boot_serial:
exclude_boot_serial:
description:
- serial of boot device to be excluded, used by NX G6 platforms
type: bool
Expand Down Expand Up @@ -792,12 +792,12 @@
required: false
default_ipmi_user:
description:
- default ipmi username, required either at node leve or here incase of ipmi based imaging
- default ipmi username, required either at node level or here incase of ipmi based imaging
type: str
required: false
default_ipmi_password:
description:
- default ipmi password, required either at node leve or here incase of ipmi based imaging
- default ipmi password, required either at node level or here incase of ipmi based imaging
type: str
required: false
skip_hypervisor:
Expand Down Expand Up @@ -1054,7 +1054,7 @@ def get_module_spec():
ucsm_node_serial=dict(type="str", required=False),
image_successful=dict(type="bool", required=False),
ucsm_managed_mode=dict(type="str", required=False),
exlude_boot_serial=dict(type="bool", required=False),
exclude_boot_serial=dict(type="bool", required=False),
mitigate_low_boot_space=dict(type="bool", required=False),
vswitches=dict(type="list", elements="dict", options=vswitches, required=False),
ucsm_params=dict(type="dict", options=ucsm_params, required=False),
Expand Down Expand Up @@ -1094,7 +1094,7 @@ def get_module_spec():
rdma_passthrough=dict(type="bool", required=False),
ucsm_node_serial=dict(type="str", required=False),
ucsm_managed_mode=dict(type="str", required=False),
exlude_boot_serial=dict(type="bool", required=False),
exclude_boot_serial=dict(type="bool", required=False),
mitigate_low_boot_space=dict(type="bool", required=False),
bond_uplinks=dict(type="list", elements="str", required=False),
vswitches=dict(type="list", elements="dict", options=vswitches, required=False),
Expand Down
4 changes: 2 additions & 2 deletions plugins/modules/ntnx_image_placement_policy.py
Original file line number Diff line number Diff line change
Expand Up @@ -84,7 +84,7 @@
description:
- When set will remove all categories attached to the policy.
- Mutually exclusive ith C(categories)
- It doesnot remove C(image_categories) or C(cluster_categories)
- It does not remove C(image_categories) or C(cluster_categories)
required: false
type: bool
default: false
Expand Down Expand Up @@ -146,7 +146,7 @@
nutanix_username: "{{ username }}"
nutanix_password: "{{ password }}"
validate_certs: False
name: "test_policy_2-uodated"
name: "test_policy_2-updated"
desc: "test_policy_2_desc-updated"
placement_type: hard
categories:
Expand Down
2 changes: 1 addition & 1 deletion plugins/modules/ntnx_images_info.py
Original file line number Diff line number Diff line change
Expand Up @@ -136,7 +136,7 @@
"resources": {
"architecture": "X86_64",
"image_type": "DISK_IMAGE",
"source_uri": "<ssource-uri>"
"source_uri": "<source-uri>"
}
},
"status": {
Expand Down
2 changes: 1 addition & 1 deletion plugins/modules/ntnx_ndb_database_clone_refresh.py
Original file line number Diff line number Diff line change
Expand Up @@ -11,7 +11,7 @@
module: ntnx_ndb_database_clone_refresh
short_description: module for database clone refresh.
version_added: 1.8.0
description: moudle for refreshing database clone to certain point in time or snapshot.
description: module for refreshing database clone to certain point in time or snapshot.
options:
uuid:
description:
Expand Down
2 changes: 1 addition & 1 deletion plugins/modules/ntnx_ndb_database_clones.py
Original file line number Diff line number Diff line change
Expand Up @@ -127,7 +127,7 @@
use_authorized_server:
description:
- conifgure authorized database server VM for hosting database clone
- configure authorized database server VM for hosting database clone
type: dict
suboptions:
name:
Expand Down
2 changes: 1 addition & 1 deletion plugins/modules/ntnx_ndb_database_snapshots.py
Original file line number Diff line number Diff line change
Expand Up @@ -25,7 +25,7 @@
type: str
name:
description:
- name of snaphsot.
- name of snapshot.
- required for create
- update is allowed
type: str
Expand Down
2 changes: 1 addition & 1 deletion plugins/modules/ntnx_ndb_databases_info.py
Original file line number Diff line number Diff line change
Expand Up @@ -35,7 +35,7 @@
type: bool
load_dbserver_cluster:
description:
- load db serverv cluster in response
- load db server cluster in response
type: bool
order_by_dbserver_cluster:
description:
Expand Down
2 changes: 1 addition & 1 deletion plugins/modules/ntnx_ndb_db_server_vms.py
Original file line number Diff line number Diff line change
Expand Up @@ -111,7 +111,7 @@
type: str
version_uuid:
description:
- version UUID for softwware profile
- version UUID for software profile
- if not given then latest version will be used
type: str
time_machine:
Expand Down
4 changes: 2 additions & 2 deletions plugins/modules/ntnx_ndb_profiles.py
Original file line number Diff line number Diff line change
Expand Up @@ -279,7 +279,7 @@
type: int
autovacuum:
description:
- on/off autovaccum
- on/off autovacuum
- default is on
type: str
choices: ["on", "off"]
Expand All @@ -305,7 +305,7 @@
type: float
autovacuum_work_mem:
description:
- autovacum work memory in KB
- autovacuum work memory in KB
- default is -1
type: int
autovacuum_max_workers:
Expand Down
2 changes: 1 addition & 1 deletion plugins/modules/ntnx_ndb_profiles_info.py
Original file line number Diff line number Diff line change
Expand Up @@ -24,7 +24,7 @@
type: str
version_id:
description:
- vrsion uuid
- version uuid
type: str
latest_version:
description:
Expand Down
2 changes: 1 addition & 1 deletion plugins/modules/ntnx_ndb_register_database.py
Original file line number Diff line number Diff line change
Expand Up @@ -182,7 +182,7 @@
default: true
postgres:
description:
- potgres related configuration
- postgres related configuration
type: dict
suboptions:
listener_port:
Expand Down
2 changes: 1 addition & 1 deletion plugins/modules/ntnx_ndb_register_db_server_vm.py
Original file line number Diff line number Diff line change
Expand Up @@ -45,7 +45,7 @@
type: str
postgres:
description:
- potgres related configuration
- postgres related configuration
type: dict
suboptions:
listener_port:
Expand Down
2 changes: 1 addition & 1 deletion plugins/modules/ntnx_recovery_plans.py
Original file line number Diff line number Diff line change
Expand Up @@ -567,7 +567,7 @@
{
"ip_config_list": [
{
"ip_address": "cutom_ip_1"
"ip_address": "custom_ip_1"
}
],
"vm_reference": {
Expand Down
2 changes: 1 addition & 1 deletion plugins/modules/ntnx_static_routes.py
Original file line number Diff line number Diff line change
Expand Up @@ -44,7 +44,7 @@
destination:
description:
- destination prefix eg. 10.2.3.0/24
- for defaut static route give 0.0.0.0/0
- for default static route give 0.0.0.0/0
required: true
type: str
next_hop:
Expand Down
2 changes: 1 addition & 1 deletion plugins/modules/ntnx_users.py
Original file line number Diff line number Diff line change
Expand Up @@ -62,7 +62,7 @@
description: The UserPrincipalName of the user from the directory service.
project:
type: dict
description: project that belogs to
description: project that belongs to
suboptions:
name:
type: str
Expand Down
2 changes: 1 addition & 1 deletion plugins/modules/ntnx_vms.py
Original file line number Diff line number Diff line change
Expand Up @@ -100,7 +100,7 @@
suboptions:
name:
description:
- Storage containter Name
- Storage container Name
- Mutually exclusive with C(uuid)
type: str
uuid:
Expand Down
2 changes: 1 addition & 1 deletion tests/unit/plugins/module_utils/test_entity.py
Original file line number Diff line number Diff line change
Expand Up @@ -132,7 +132,7 @@ def test_negative_list_action(self):
self.assertEqual(result["request"], req)
self.assertEqual(entity.headers.get("Authorization"), None)

def test_raed_action(self):
def test_read_action(self):
uuid = "test_uuid"
req = {
"method": "GET",
Expand Down

0 comments on commit d25b5a7

Please sign in to comment.