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.pp36
1 files changed, 36 insertions, 0 deletions
diff --git a/global/overlay/etc/puppet/manifests/cosmos-site.pp b/global/overlay/etc/puppet/manifests/cosmos-site.pp
index ccf1bd9..3fe183e 100644
--- a/global/overlay/etc/puppet/manifests/cosmos-site.pp
+++ b/global/overlay/etc/puppet/manifests/cosmos-site.pp
@@ -761,6 +761,12 @@ class swamidops {
user => 'root',
name => 'anders@merlin'
}
+ ssh_authorized_key {'lordahl-neo':
+ type => 'ssh-rsa',
+ key => 'AAAAB3NzaC1yc2EAAAADAQABAAABAQCnlZzX1O/zsoXJx8gdydJcqC94HhpgOO42BWHhXVpmxxrqSxLriClbcMFUDhNn2ldLkBtvG404cTbe+rChDNLf4kWGBGUXO/JwIamMVSdFf68ykaycEBmEKfp2CLGc/vN3ryZdSU+bqciDx9VUTIfTGCTHoMHFtUwp42g+DxY+AOccHnwprUg/yiwne4Owr3Y7MOE91mLCl0Sgg/MxOHM5IPScMeS2FDiWDKq7dNyKDDfc3P5WOIr1valBWooOkcu7wimV9QrSwTWv6seRQ6FrEnp7eaotrNhtouznpVCiuBMpw6m1bGX2tJRkU9cKKh4FsgIs6ysAfTvc6Ue1PJTB',
+ user => 'root',
+ name => 'anders.neo@lordal.se'
+ }
ssh_authorized_key {'aslund-umu':
type => 'ssh-rsa',
key => 'AAAAB3NzaC1yc2EAAAADAQABAAABAQCZMok+obrCgHY0atsLp777lBrxvMYEHmHK0+DXHBnRBH9CK9gjquH3fmv/Eq1bHm4UUOOJ0zk67mVdFcOwX4p7XbxHolURLFPu1QBWgiT6vRGrWOthcDa1I5iSJ0ez7SBrtD4Si5juKq1T6mNVEbHn9NlOoGR4NVGQI1v90bywnhdT9m12Y487e4HYyjDE3G/S0v6Pkj4uaehrWHAbrgXYEkleuhGJesNQrfxDx31BZbqJs8wqZ9csgHaBgiiN/lplsZlL7GuHqytoSPKwVJ7EK/ZvFLir3IoP5G9IR0eUY4+SZUEjmxJL+JyBXGQJPJx1qIPiQZSb+38tBT2742Fx',
@@ -928,6 +934,21 @@ 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'
+ } ->
+ 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'],
+ volumes => ['/data/static_sunet_se:/usr/local/apache2/htdocs']
+ }
}
node 'web-a2.sunet.se' {
@@ -937,6 +958,21 @@ 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'
+ } ->
+ 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'],
+ volumes => ['/data/static_sunet_se:/usr/local/apache2/htdocs']
+ }
}
node 'ca.sunet.se' {