summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorTulio Casagrande <tuliocasagrande@gmail.com>2017-01-21 16:59:32 -0200
committerGitHub <noreply@github.com>2017-01-21 16:59:32 -0200
commit3233323292f357a0e23a1b41819a94b23b5c76b0 (patch)
tree43cfc29f7ac376f0cf18cea8abe005d82b4c6123
parenteab5d66e82aad5dc54f64e769fd460d4adbeaedf (diff)
parent0ce742fff83248817d9f85d42b6edf0775908ab9 (diff)
Merge pull request #946 from pixelated/virtual-env-fix
Removes old virutalenv that is no longer being used
-rw-r--r--provisioning/modules/pixelated/manifests/source/install_useragent.pp6
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']]
}