def get_https_proxy(network_service='Ethernet'):
 if (__grains__['os'] == 'Windows'):
  return _get_proxy_windows(['https'])
 return _get_proxy_osx('getsecurewebproxy', network_service)

def get_https_proxy ( network_service = 'Ethernet' ) : if ( __grains__ [ 'os' ] == 'Windows' ) : return _get_proxy_windows ( [ 'https' ] ) return _get_proxy_osx ( 'getsecurewebproxy' , network_service )
returns the current https proxy settings network_service the network service to apply the changes to .