From 0ce742fff83248817d9f85d42b6edf0775908ab9 Mon Sep 17 00:00:00 2001 From: Anike Arni Date: Fri, 20 Jan 2017 18:44:40 -0200 Subject: Removes old virutalenv that is no longer being used --- .../modules/pixelated/manifests/source/install_useragent.pp | 6 +++--- 1 file 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']] } -- cgit v1.2.3