def fullversion():
 ret = {}
 cmd = 'lvm version'
 out = __salt__['cmd.run'](cmd).splitlines()
 for line in out:
  comps = line.split(':')
 ret[comps[0].strip()] = comps[1].strip()
 return ret

def fullversion ( ) : ret = { } cmd = 'lvm version' out = __salt__ [ 'cmd.run' ] ( cmd ) . splitlines ( ) for line in out : comps = line . split ( ':' ) ret [ comps [ 0 ] . strip ( ) ] = comps [ 1 ] . strip ( ) return ret
return all version info from lvm version cli example: .