summaryrefslogtreecommitdiff
path: root/global/overlay/etc/puppet/manifests
diff options
context:
space:
mode:
authorLeif Johansson <leifj@sunet.se>2015-09-18 09:32:00 +0200
committerLeif Johansson <leifj@sunet.se>2015-09-18 09:32:00 +0200
commit0f4a7d98443479bce981733769754c47832f17a0 (patch)
tree478339976183b5a80206d4959d403a8adfa83286 /global/overlay/etc/puppet/manifests
parent57fbeb3b9f3bc679336123091e38f76c9785eadf (diff)
kalturabilling
Diffstat (limited to 'global/overlay/etc/puppet/manifests')
-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 890162e..bb14240 100644
--- a/global/overlay/etc/puppet/manifests/cosmos-site.pp
+++ b/global/overlay/etc/puppet/manifests/cosmos-site.pp
@@ -870,10 +870,18 @@ class webbackend {
}
node 'web-a1.sunet.se' {
+ file { '/data': ensure => directory } ->
sunet::wordpress {'www_sunet_se':
wordpress_image => 'docker.sunet.se/shib-wordpress',
wordpress_version => 'latest',
sp_hostname => 'www2.sunet.se'
+ } ->
+ file { '/data/kalturabilling': ensure => directory } ->
+ sunet::docker_run {'kalturabilling':
+ image => 'docker.sunet.se/kalturabilling',
+ ports => ['5000:5000'],
+ volumes => ['/data/kalturabilling/kalturausers.csv:/kalturausers.csv'],
+ env => ['KALTURA_CUSTOMERS=/kalturausers.csv']
}
}