puppet: Fix pip dependencies

(imported from commit 34d2ef0fbf39734c66d7ed777c225045e1b8619d)
This commit is contained in:
Zev Benjamin 2013-02-08 11:26:39 -05:00
parent c76ae76d51
commit 153777bd01
1 changed files with 10 additions and 5 deletions

View File

@ -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':