diff options
author | Leif Johansson <leifj@sunet.se> | 2014-04-11 20:51:36 +0200 |
---|---|---|
committer | Leif Johansson <leifj@sunet.se> | 2014-04-11 20:51:36 +0200 |
commit | a2451b3371e5e1051a98484c109c1b2eea578cec (patch) | |
tree | eba800a9698ed25a66c1619ba0b558ce00b43e32 /global/overlay/etc/puppet/manifests | |
parent | ee4bed5ab328e7cb65149b30e1a1080bb4bba548 (diff) |
peer+pyffsunet-ops-2014-04-11-v04
Diffstat (limited to 'global/overlay/etc/puppet/manifests')
-rw-r--r-- | global/overlay/etc/puppet/manifests/cosmos-site.pp | 23 |
1 files changed, 23 insertions, 0 deletions
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': |