From ec11c36753e075c0352d10d91b09d0edeef3f3e7 Mon Sep 17 00:00:00 2001 From: Spencer Krum Date: Sat, 5 Mar 2016 09:17:07 -0800 Subject: [PATCH] Add captcha to the askbot venv Currently I am getting spam from the clean_sessions cron about import errors because we don't have this library available. Change-Id: I6e9e18e8b2e6de7bceedfbf261eb73cb46d9e7e8 --- manifests/install.pp | 6 ++++++ 1 file changed, 6 insertions(+) diff --git a/manifests/install.pp b/manifests/install.pp index 2fd5c08..1a746b5 100644 --- a/manifests/install.pp +++ b/manifests/install.pp @@ -63,6 +63,12 @@ class askbot::install ( } } + python::pip { 'captcha': + pkgname => 'captcha', + virtualenv => '/usr/askbot-env', + require => Python::Virtualenv['/usr/askbot-env'], + } + if $redis_enabled { python::pip { 'redis': ensure => '1.3.0',