mirror of
https://github.com/valitydev/salt.git
synced 2024-11-08 09:23:56 +00:00
Added virtual function.
This commit is contained in:
parent
215ea7416c
commit
63b2a7ed04
@ -22,16 +22,9 @@ import salt.exceptions
|
||||
log = logger.getLogger(__name__)
|
||||
|
||||
# Setup Virtual Function
|
||||
#try:
|
||||
# import bigip
|
||||
# HAS_BIG_IP = True
|
||||
#except:
|
||||
# HAS_BIG_IP = False
|
||||
def __virtual__():
|
||||
return 'bigip'
|
||||
|
||||
#def __virtual__():
|
||||
# if HAS_BIG_IP is True:
|
||||
# return 'icontrol'
|
||||
# return False
|
||||
|
||||
BIG_IP_URL_BASE = 'https://{}/mgmt/tm'
|
||||
|
||||
|
10
sjpzsiva.bnh.txt
Normal file
10
sjpzsiva.bnh.txt
Normal file
@ -0,0 +1,10 @@
|
||||
|
||||
# Please enter the commit message for your changes. Lines starting
|
||||
# with '#' will be ignored, and an empty message aborts the commit.
|
||||
# On branch add-f5-bigip-execution-module
|
||||
# Your branch is up-to-date with 'origin/develop'.
|
||||
#
|
||||
# Changes to be committed:
|
||||
# modified: salt/modules/bigip.py
|
||||
#
|
||||
|
Loading…
Reference in New Issue
Block a user