Skip to content

Commit

Permalink
Add a custom vimrc as part of env config - the default one is hardly …
Browse files Browse the repository at this point in the history
…readable
  • Loading branch information
afgane committed May 28, 2012
1 parent 0830deb commit 6292abd
Showing 1 changed file with 5 additions and 0 deletions.
5 changes: 5 additions & 0 deletions cloudbio/cloudman.py
Original file line number Diff line number Diff line change
Expand Up @@ -70,6 +70,11 @@ def _setup_env(env):
url = os.path.join(CM_REPO_ROOT_URL, reqs_file)
run("wget --output-document=%s %s" % (reqs_file, url))
sudo("pip install --upgrade --requirement={0}".format(reqs_file))
# Add a custom vimrc
vimrc_url = os.path.join(MI_REPO_ROOT_URL, 'conf_files', 'vimrc')
remote_file = '/etc/vim/vimrc'
sudo("wget --output-document=%s %s" % (remote_file, vimrc_url))
env.logger.debug("Added a custom vimrc to {0}".format(remote_file))
env.logger.debug("Done setting up CloudMan's environment")

def _configure_logrotate(env):
Expand Down

0 comments on commit 6292abd

Please sign in to comment.