summaryrefslogtreecommitdiff
path: root/global/overlay/etc/puppet/manifests/cosmos-site.pp
diff options
context:
space:
mode:
Diffstat (limited to 'global/overlay/etc/puppet/manifests/cosmos-site.pp')
-rw-r--r--global/overlay/etc/puppet/manifests/cosmos-site.pp22
1 files changed, 21 insertions, 1 deletions
diff --git a/global/overlay/etc/puppet/manifests/cosmos-site.pp b/global/overlay/etc/puppet/manifests/cosmos-site.pp
index ccf1bd9..aaa8bb4 100644
--- a/global/overlay/etc/puppet/manifests/cosmos-site.pp
+++ b/global/overlay/etc/puppet/manifests/cosmos-site.pp
@@ -1,4 +1,4 @@
-# This manifest is managed using cosmos
+ This manifest is managed using cosmos
Exec {
path => "/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin",
@@ -928,6 +928,16 @@ node 'web-a1.sunet.se' {
volumes => ['/data/kalturabilling/kalturausers.csv:/kalturausers.csv'],
env => ['KALTURA_CUSTOMERS=/kalturausers.csv','SCRIPT_NAME=/kalturabilling']
}
+ vcsrepo { '/data/static_sunet_se':
+ ensure => present,
+ provider => git,
+ source => 'git://github.com/SUNET/static_sunet_se.git'
+ } ->
+ sunet::docker_run {'static_sunet_se':
+ image => 'docker.sunet.se/static-cors',
+ ports => ['8002:80'],
+ volumes => ['/data/static_sunet_se:/usr/local/apache2/htdocs']
+ }
}
node 'web-a2.sunet.se' {
@@ -937,6 +947,16 @@ node 'web-a2.sunet.se' {
sp_hostname => 'www.sunet.se',
mysql_user => 'wordpress'
}
+ vcsrepo { '/data/static_sunet_se':
+ ensure => present,
+ provider => git,
+ source => 'git://github.com/SUNET/static_sunet_se.git'
+ } ->
+ sunet::docker_run {'static_sunet_se':
+ image => 'docker.sunet.se/static-cors',
+ ports => ['8002:80'],
+ volumes => ['/data/static_sunet_se:/usr/local/apache2/htdocs']
+ }
}
node 'ca.sunet.se' {