Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[DOCS] Fix example for vmware_cluster_ha.get #275

Merged
merged 2 commits into from
Jun 2, 2022
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
9 changes: 6 additions & 3 deletions src/saltext/vmware/modules/cluster_ha.py
Original file line number Diff line number Diff line change
Expand Up @@ -257,6 +257,8 @@ def configure(
advanced_settings
Advanced options for the cluster, to be passed in as a dictionary.

CLI Example:

.. code-block:: bash

salt '*' vmware_cluster_ha.configure cluster1 dc1 enable=True
Expand Down Expand Up @@ -326,13 +328,14 @@ def get(cluster_name, datacenter_name, service_instance=None):
datacenter_name
The datacenter name to which the cluster belongs

.. code-block:: bash

service_instance
Use this vCenter service connection instance instead of creating a new one. (optional).

salt '*' vmware_cluster_ha.get cluster_name=cl1 datacenter_name=dc1
CLI Example:

.. code-block:: bash

salt '*' vmware_cluster_ha.get cluster_name=cl1 datacenter_name=dc1
"""
ret = {}
if service_instance is None:
Expand Down