def _conn_info_check(infoblox_server=None, infoblox_user=None, infoblox_password=None):
 if (infoblox_server is None):
  infoblox_server = __salt__['pillar.get']('infoblox:server', None)
 if (infoblox_user is None):
  infoblox_user = __salt__['pillar.get']('infoblox:user', None)
  log.debug('Infoblox username is "{0}"'.format(infoblox_user))
 if (infoblox_password is None):
  infoblox_password = __salt__['pillar.get']('infoblox:password', None)
 return (infoblox_server, infoblox_user, infoblox_password)

def _conn_info_check ( infoblox_server = None , infoblox_user = None , infoblox_password = None ) : if ( infoblox_server is None ) : infoblox_server = __salt__ [ 'pillar.get' ] ( 'infoblox:server' , None ) if ( infoblox_user is None ) : infoblox_user = __salt__ [ 'pillar.get' ] ( 'infoblox:user' , None ) log . debug ( 'Infoblox username is "{0}"' . format ( infoblox_user ) ) if ( infoblox_password is None ) : infoblox_password = __salt__ [ 'pillar.get' ] ( 'infoblox:password' , None ) return ( infoblox_server , infoblox_user , infoblox_password )
get infoblox stuff from pillar if not passed .