From a2451b3371e5e1051a98484c109c1b2eea578cec Mon Sep 17 00:00:00 2001 From: Leif Johansson Date: Fri, 11 Apr 2014 20:51:36 +0200 Subject: peer+pyff --- global/overlay/etc/puppet/manifests/cosmos-site.pp | 23 ++++++++++++++++++++++ 1 file changed, 23 insertions(+) (limited to 'global/overlay/etc/puppet/manifests/cosmos-site.pp') diff --git a/global/overlay/etc/puppet/manifests/cosmos-site.pp b/global/overlay/etc/puppet/manifests/cosmos-site.pp index 61016c9..676c599 100644 --- a/global/overlay/etc/puppet/manifests/cosmos-site.pp +++ b/global/overlay/etc/puppet/manifests/cosmos-site.pp @@ -58,6 +58,29 @@ node 'sto-tug-kvm1.swamid.se' { } } +node 'registry.swamid.se' { + include cosmos::httpsproxy + class {'pyff': + load => ['/opt/peer/vf_repo'], + validUntil => 'P10D', + cacheDuration => 'PT5H' + } + peerpkg = ['python-dev','libxml2-dev','libxml2','libxslt1-dev','libxslt1.1','xmlsec1','libxmlsec1-openssl','libpq-dev','postgresql','postgresql-client'] + package { $peerpkg: ensure => installed } + class { 'python': + version => 'system', + dev => true, + virtualenv => true, + gunicorn => false, + } + python::virtualenv { '/opt/peer': + ensure => present + } + python::pip { 'peer==0.13.0': + virtualenv => '/opt/peer' + } +} + node 'sto-tug-kvm-lab1.swamid.se' { package {'python-vm-builder': -- cgit v1.1