cache cronjob

This commit is contained in:
Leif Johansson 2018-01-23 16:42:43 +01:00
parent 207282b99f
commit b6bd6159de

View file

@ -129,6 +129,13 @@ class md_signer() {
pound_and_varnish => false,
pipeline => "${name}.fd",
volumes => ["/etc/credentials:/etc/credentials"]
} ->
package {'jq': ensure => 'latest'} ->
sunet::scriptherder::cronjob { "${name}-publish":
cmd => "/usr/local/bin/mirror-mdq.sh http://localhost:8080 /tmp/signed",
minute => '*/5',
ok_criteria => ['exit_status=0'],
warn_criteria => ['max_age=30m']
}
}