<s> """<STR_LIT>""" <EOL> from perfkitbenchmarker import vm_util <EOL> REDIS_TAR = '<STR_LIT>' <EOL> REDIS_DIR = '<STR_LIT>' % vm_util . VM_TMP_DIR <EOL> REDIS_URL = '<STR_LIT>' + REDIS_TAR <EOL> def _Install ( vm ) : <EOL> """<STR_LIT>""" <EOL> vm . Install ( '<STR_LIT>' ) <EOL> vm . Install ( '<STR_LIT>' ) <EOL> vm . RemoteCommand ( '<STR_LIT>' % ( REDIS_URL , vm_util . VM_TMP_DIR ) ) <EOL> vm . RemoteCommand ( '<STR_LIT>' % ( vm_util . VM_TMP_DIR , REDIS_TAR ) ) <EOL> vm . RemoteCommand ( '<STR_LIT>' % REDIS_DIR ) <EOL> def YumInstall ( vm ) : <EOL> """<STR_LIT>""" <EOL> vm . InstallPackages ( '<STR_LIT>' ) <EOL> _Install ( vm ) <EOL> def AptInstall ( vm ) : <EOL> """<STR_LIT>""" <EOL> vm . InstallPackages ( '<STR_LIT>' ) <EOL> _Install ( vm ) </s>
