def put_(keyname, val):
 mdata = _check_mdata_put()
 ret = {}
 if mdata:
  cmd = 'echo {2} | {0} {1}'.format(mdata, keyname, val)
  ret = __salt__['cmd.run_all'](cmd, python_shell=True)
 return (ret['retcode'] == 0)

def put_ ( keyname , val ) : mdata = _check_mdata_put ( ) ret = { } if mdata : cmd = 'echo {2} | {0} {1}' . format ( mdata , keyname , val ) ret = __salt__ [ 'cmd.run_all' ] ( cmd , python_shell = True ) return ( ret [ 'retcode' ] == 0 )
put metadata prop : string name of property val : string value to set cli example: .