diff options
author | Anike Arni <aarni@thoughtworks.com> | 2017-01-20 18:44:40 -0200 |
---|---|---|
committer | Anike Arni <aarni@thoughtworks.com> | 2017-01-20 18:49:51 -0200 |
commit | 0ce742fff83248817d9f85d42b6edf0775908ab9 (patch) | |
tree | 4e53cc146f089ff8d41fac18d541ab09d4053a8b /provisioning/modules/pixelated/manifests | |
parent | bcdfa584baa617025bf69acafe7e6576a8228912 (diff) |
Removes old virutalenv that is no longer being used
Diffstat (limited to 'provisioning/modules/pixelated/manifests')
-rw-r--r-- | provisioning/modules/pixelated/manifests/source/install_useragent.pp | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/provisioning/modules/pixelated/manifests/source/install_useragent.pp b/provisioning/modules/pixelated/manifests/source/install_useragent.pp index f8e9690a..0b19eeb3 100644 --- a/provisioning/modules/pixelated/manifests/source/install_useragent.pp +++ b/provisioning/modules/pixelated/manifests/source/install_useragent.pp @@ -2,7 +2,7 @@ # and make sure venv is activated on login class pixelated::source::install_useragent { - $virtualenv_path = '/home/vagrant/user-agent-venv' + $virtualenv_path = '/home/vagrant/.venvs/pixua' exec { 'install-pixelated': # use of "user" parameter doesn't set env variables right, @@ -24,8 +24,8 @@ class pixelated::source::install_useragent { } exec { 'add_custom_node_modules_to_bashrc': - command => "/bin/bash -c 'echo \"source /home/vagrant/user-agent-venv/bin/activate\" >> /home/vagrant/.bashrc'", - unless => "/bin/grep \"source /home/vagrant/user-agent-venv/bin/activate\" /home/vagrant/.bashrc", + command => "/bin/bash -c 'echo \"source ${virtualenv_path}/bin/activate\" >> /home/vagrant/.bashrc'", + unless => "/bin/grep \"source ${virtualenv_path}/bin/activate\" /home/vagrant/.bashrc", user => 'vagrant', require => [Exec['install-pixelated'], File['/home/vagrant/activate_custom_node_modules.sh']] } |