signer update crontjob
This commit is contained in:
parent
0b59bb9922
commit
40ae0fe622
1 changed files with 6 additions and 0 deletions
|
@ -155,6 +155,12 @@ class md_repo_client {
|
|||
|
||||
class md_signer {
|
||||
package { ['make']: ensure => latest }
|
||||
sunet::scriptherder::cronjob { 'verify_and_update':
|
||||
cmd => 'cd /var/cache/metadata_r1 && make update',
|
||||
minute => '*/5',
|
||||
ok_criteria => ['exit_status=0', 'max_age=15m'],
|
||||
warn_criteria => ['exit_status=0', 'max_age=1h'],
|
||||
}
|
||||
}
|
||||
|
||||
class md_repo_server($hostname) {
|
||||
|
|
Loading…
Add table
Reference in a new issue