Added virtual function.

This commit is contained in:
Anthonyhawkins 2015-04-11 13:07:43 -05:00
parent 215ea7416c
commit 63b2a7ed04
2 changed files with 12 additions and 9 deletions

View File

@ -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
View 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
#