cache cronjob
This commit is contained in:
parent
207282b99f
commit
b6bd6159de
1 changed files with 7 additions and 0 deletions
|
@ -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']
|
||||
}
|
||||
}
|
||||
|
||||
|
|
Loading…
Add table
Reference in a new issue