mirror of
https://github.com/saltstack/salt.git
synced 2025-04-17 10:10:20 +00:00
CLI example
This commit is contained in:
parent
81028e86ad
commit
07cd3a0ad4
1 changed files with 6 additions and 0 deletions
|
@ -168,6 +168,12 @@ def listener_dict_to_tuple(listener):
|
|||
'''
|
||||
Convert an ELB listener dict into a listener tuple used by certain parts of
|
||||
the AWS ELB API.
|
||||
|
||||
CLI example:
|
||||
|
||||
.. code-block:: bash
|
||||
|
||||
salt myminion boto_elb.listener_dict_to_tuple '{"elb_port":80,"instance_port":80,"elb_protocol":"HTTP"}'
|
||||
'''
|
||||
# We define all listeners as complex listeners.
|
||||
if 'instance_protocol' not in listener:
|
||||
|
|
Loading…
Add table
Reference in a new issue