def build_info():
 ret = {'info': []}
 out = __salt__['cmd.run']('{0} -V'.format(__detect_os()))
 for i in out.splitlines():
  if i.startswith('configure argument'):
   ret['build arguments'] = re.findall("(?:[^\\s]*'.*')|(?:[^\\s]+)", i)[2:]
   continue
  ret['info'].append(i)
 return ret

def build_info ( ) : ret = { 'info' : [ ] } out = __salt__ [ 'cmd.run' ] ( '{0} -V' . format ( __detect_os ( ) ) ) for i in out . splitlines ( ) : if i . startswith ( 'configure argument' ) : ret [ 'build arguments' ] = re . findall ( "(?:[^\\s]*'.*')|(?:[^\\s]+)" , i ) [ 2 : ] continue ret [ 'info' ] . append ( i ) return ret
return server and build arguments cli example: .