original_docstring: Installs the memtier package on the VM.
docstring: Installs the memtier package on the VM.
docstring_tokens: Installs the memtier package on the VM .
code: def YumInstall(vm):
    """Installs the memtier package on the VM."""
    vm.Install('build_tools')
    vm.InstallPackages(YUM_PACKAGES)
    vm.Install('wget')
    vm.RemoteCommand('wget {0} -P {1}'.format(LIBEVENT_URL, INSTALL_DIR))
    vm.RemoteCommand('cd {0} && tar xvzf {1}'.format(INSTALL_DIR,
                                                     LIBEVENT_TAR))
    vm.RemoteCommand('cd {0} && ./configure && sudo make install'.format(
        LIBEVENT_DIR))
    vm.RemoteCommand('git clone {0} {1}'.format(GIT_REPO, MEMTIER_DIR))
    vm.RemoteCommand('cd {0} && git checkout {1}'.format(MEMTIER_DIR, GIT_TAG))
    pkg_config = 'PKG_CONFIG_PATH=/usr/local/lib/pkgconfig:${PKG_CONFIG_PATH}'
    vm.RemoteCommand('cd {0} && autoreconf -ivf && {1} ./configure && '
                     'sudo make install'.format(MEMTIER_DIR, pkg_config))
code_tokens: def YumInstall ( vm ) : vm . Install ( 'build_tools' ) vm . InstallPackages ( YUM_PACKAGES ) vm . Install ( 'wget' ) vm . RemoteCommand ( 'wget {0} -P {1}' . format ( LIBEVENT_URL , INSTALL_DIR ) ) vm . RemoteCommand ( 'cd {0} && tar xvzf {1}' . format ( INSTALL_DIR , LIBEVENT_TAR ) ) vm . RemoteCommand ( 'cd {0} && ./configure && sudo make install' . format ( LIBEVENT_DIR ) ) vm . RemoteCommand ( 'git clone {0} {1}' . format ( GIT_REPO , MEMTIER_DIR ) ) vm . RemoteCommand ( 'cd {0} && git checkout {1}' . format ( MEMTIER_DIR , GIT_TAG ) ) pkg_config = 'PKG_CONFIG_PATH=/usr/local/lib/pkgconfig:${PKG_CONFIG_PATH}' vm . RemoteCommand ( 'cd {0} && autoreconf -ivf && {1} ./configure && ' 'sudo make install' . format ( MEMTIER_DIR , pkg_config ) )
short_docstring: Installs the memtier package on the VM.
short_docstring_tokens: Installs the memtier package on the VM .
comment: """Installs the memtier package on the VM."""