summaryrefslogtreecommitdiff
path: root/global/overlay/etc/puppet/manifests/cosmos-site.pp
diff options
context:
space:
mode:
authorLeif Johansson <leifj@sunet.se>2014-09-30 13:22:21 +0200
committerLeif Johansson <leifj@sunet.se>2014-09-30 13:22:21 +0200
commit00a6262042ebe2f7a9b3015fde93dd424cd91099 (patch)
tree2dc781480dcf9c6b4dbfbbcb20a7c89b06618eba /global/overlay/etc/puppet/manifests/cosmos-site.pp
parent0bb300a9a8af9345660ab51cf0e9e66a6e5d7612 (diff)
registry pyff and cronjob for swamid-metadata git pullsunet-ops-2014-09-30-v20
Diffstat (limited to 'global/overlay/etc/puppet/manifests/cosmos-site.pp')
-rw-r--r--global/overlay/etc/puppet/manifests/cosmos-site.pp15
1 files changed, 11 insertions, 4 deletions
diff --git a/global/overlay/etc/puppet/manifests/cosmos-site.pp b/global/overlay/etc/puppet/manifests/cosmos-site.pp
index 5c09520..9b03432 100644
--- a/global/overlay/etc/puppet/manifests/cosmos-site.pp
+++ b/global/overlay/etc/puppet/manifests/cosmos-site.pp
@@ -99,6 +99,11 @@ class signer {
cacheDuration => 'PT5H',
replace => false
}
+ cron {'update-swamid-metadata':
+ command => "cd /opt/swamid-metadata && git -q pull",
+ user => root,
+ minute => '*/5'
+ }
}
node 'md-master.reep.refeds.org' {
@@ -112,10 +117,12 @@ node 'md-master.reep.refeds.org' {
node 'registry.swamid.se' {
class {'pyff':
- load => ['/opt/peer/vf_repo'],
- validUntil => 'P10D',
- cacheDuration => 'PT5H',
- replace => false
+ load => ['/opt/peer/media/vf_repo'],
+ validUntil => 'P30D',
+ cacheDuration => 'PT24H',
+ replace => false,
+ port => 8000,
+ address => '127.0.0.1'
}
$peerpkg = ['xmlsec1','libxmlsec1-openssl','libpq-dev','postgresql','postgresql-client']
package { $peerpkg: ensure => installed }