summaryrefslogtreecommitdiff
path: root/global/overlay/etc/puppet/manifests/cosmos-site.pp
diff options
context:
space:
mode:
authorLeif Johansson <leifj@sunet.se>2014-05-16 13:21:04 +0200
committerLeif Johansson <leifj@sunet.se>2014-05-16 13:21:04 +0200
commit2f2916e15a0f493b72d5cbb0f24ddbc76602b48e (patch)
treebc263de88538f22df2cacf1e0d51f0bb1866e219 /global/overlay/etc/puppet/manifests/cosmos-site.pp
parentbc58a8b82bc2b09c3b9f8ade3b288b0e21e3b192 (diff)
ip address fix for kvm1 and more modulessunet-ops-2014-05-16-v01
Diffstat (limited to 'global/overlay/etc/puppet/manifests/cosmos-site.pp')
-rw-r--r--global/overlay/etc/puppet/manifests/cosmos-site.pp8
1 files changed, 8 insertions, 0 deletions
diff --git a/global/overlay/etc/puppet/manifests/cosmos-site.pp b/global/overlay/etc/puppet/manifests/cosmos-site.pp
index f17a254..ab60653 100644
--- a/global/overlay/etc/puppet/manifests/cosmos-site.pp
+++ b/global/overlay/etc/puppet/manifests/cosmos-site.pp
@@ -73,6 +73,14 @@ node 'registry.swamid.se' {
python::pip { 'peer==0.13.0':
virtualenv => '/opt/peer'
}
+
+ class { 'postgresql::server': }
+
+ postgresql::server::db { 'peer':
+ encoding => 'utf-8',
+ user => 'peer',
+ password => postgresql_password('peer', hiera('peer_db_password')),
+ }
}
node 'sto-tug-kvm-lab1.swamid.se' {