From 153777bd01ff7c137d6677f09736b7df014f105a Mon Sep 17 00:00:00 2001 From: Zev Benjamin Date: Fri, 8 Feb 2013 11:26:39 -0500 Subject: [PATCH] puppet: Fix pip dependencies (imported from commit 34d2ef0fbf39734c66d7ed777c225045e1b8619d) --- servers/puppet/modules/humbug/manifests/base.pp | 15 ++++++++++----- 1 file changed, 10 insertions(+), 5 deletions(-) diff --git a/servers/puppet/modules/humbug/manifests/base.pp b/servers/puppet/modules/humbug/manifests/base.pp index 996096b212..3ee8bc8d77 100644 --- a/servers/puppet/modules/humbug/manifests/base.pp +++ b/servers/puppet/modules/humbug/manifests/base.pp @@ -11,23 +11,28 @@ class humbug::base { # FIXME: Stop using pip since it is insecure exec {"pip": command => "/usr/bin/pip install django-jstemplate", - creates => "/usr/local/lib/python2.6/dist-packages/jstemplate" + creates => "/usr/local/lib/python2.6/dist-packages/jstemplate", + require => Package['python-pip'], } exec {"pip2": command => "/usr/bin/pip install markdown", - creates => "/usr/local/lib/python2.6/dist-packages/markdown" + creates => "/usr/local/lib/python2.6/dist-packages/markdown", + require => Package['python-pip'], } exec {"pip3": command => "/usr/bin/pip install requests", - creates => "/usr/local/lib/python2.6/dist-packages/requests" + creates => "/usr/local/lib/python2.6/dist-packages/requests", + require => Package['python-pip'], } exec {"pip4": command => "/usr/bin/pip install pika", - creates => "/usr/local/lib/python2.6/dist-packages/pika" + creates => "/usr/local/lib/python2.6/dist-packages/pika", + require => Package['python-pip'], } exec {"pip5": command => "/usr/bin/pip install South", - creates => "/usr/local/lib/python2.6/dist-packages/south" + creates => "/usr/local/lib/python2.6/dist-packages/south", + require => Package['python-pip'], } group { 'humbug':