def get_ftp_proxy(network_service='Ethernet'):
 if (__grains__['os'] == 'Windows'):
  return _get_proxy_windows(['ftp'])
 return _get_proxy_osx('getftpproxy', network_service)

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