def _file_write(path, content):
 with salt.utils.fopen(path, 'w+') as fp_:
  fp_.write(content)
 fp_.close()

def _file_write ( path , content ) : with salt . utils . fopen ( path , 'w+' ) as fp_ : fp_ . write ( content ) fp_ . close ( )
write content to a file .