summaryrefslogtreecommitdiff
path: root/provisioning/modules/pixelated
diff options
context:
space:
mode:
authorVictor Shyba <victor.shyba@gmail.com>2015-01-23 18:47:16 -0300
committerVictor Shyba <victor.shyba@gmail.com>2015-01-23 18:47:16 -0300
commit41427ff9965f956f7ccfdc4eebca9412f8b40be8 (patch)
treeb9f8b1b8306aa878fd777f8ea44bef95d4f2e929 /provisioning/modules/pixelated
parentacc4ce92046fd2c22fa847f6473f6ffee45659de (diff)
for #244, use /bin/activate on source
Diffstat (limited to 'provisioning/modules/pixelated')
-rw-r--r--provisioning/modules/pixelated/manifests/source.pp2
1 files changed, 1 insertions, 1 deletions
diff --git a/provisioning/modules/pixelated/manifests/source.pp b/provisioning/modules/pixelated/manifests/source.pp
index 5ebec288..0026ed3f 100644
--- a/provisioning/modules/pixelated/manifests/source.pp
+++ b/provisioning/modules/pixelated/manifests/source.pp
@@ -36,7 +36,7 @@ class pixelated::source {
}
exec { 'add_virtualenv_to_bashrc':
- command => "/bin/bash -c 'echo \"source ${virtualenv_path} ; cd /vagrant\" >> /home/vagrant/.bashrc'",
+ command => "/bin/bash -c 'echo \"source ${virtualenv_path}/bin/activate ; cd /vagrant\" >> /home/vagrant/.bashrc'",
unless => "/bin/grep \"source ${virtualenv_path}\" /home/vagrant/.bashrc",
user => 'vagrant',
require => Exec['install-pixelated']