summaryrefslogtreecommitdiff
path: root/global/overlay/etc/puppet
diff options
context:
space:
mode:
Diffstat (limited to 'global/overlay/etc/puppet')
-rw-r--r--global/overlay/etc/puppet/manifests/cosmos-site.pp10
1 files changed, 10 insertions, 0 deletions
diff --git a/global/overlay/etc/puppet/manifests/cosmos-site.pp b/global/overlay/etc/puppet/manifests/cosmos-site.pp
index 4d84c3f..2f72cea 100644
--- a/global/overlay/etc/puppet/manifests/cosmos-site.pp
+++ b/global/overlay/etc/puppet/manifests/cosmos-site.pp
@@ -933,6 +933,11 @@ node 'web-a1.sunet.se' {
provider => git,
source => 'git://github.com/SUNET/static_sunet_se.git'
} ->
+ cron {'update-static':
+ command => "cd /data/static_sunet_se && git pull -q",
+ user => root,
+ minute => '*/5'
+ } ->
sunet::docker_run {'static_sunet_se':
image => 'docker.sunet.se/static-cors',
ports => ['8002:80'],
@@ -952,6 +957,11 @@ node 'web-a2.sunet.se' {
provider => git,
source => 'git://github.com/SUNET/static_sunet_se.git'
} ->
+ cron {'update-static':
+ command => "cd /data/static_sunet_se && git pull -q",
+ user => root,
+ minute => '*/5'
+ } ->
sunet::docker_run {'static_sunet_se':
image => 'docker.sunet.se/static-cors',
ports => ['8002:80'],