mirror of
https://git.in.rschanz.org/ryan77627/guix.git
synced 2024-12-24 05:18:07 -05:00
services: ganeti: Label mcron jobs.
* gnu/services/ganeti.scm (ganeti-watcher-jobs): Label job as "ganeti-watcher". (ganeti-cleaner-jobs): Labels jobs as "ganeti master cleaner" and "ganeti node cleaner".
This commit is contained in:
parent
860e949896
commit
c97de4a989
1 changed files with 6 additions and 3 deletions
|
@ -683,7 +683,8 @@ (define (ganeti-watcher-jobs config)
|
|||
#~(#$schedule))
|
||||
((? list?)
|
||||
#~('#$schedule)))
|
||||
#$(ganeti-watcher-command config))))))
|
||||
#$(ganeti-watcher-command config)
|
||||
"ganeti-watcher")))))
|
||||
|
||||
(define ganeti-watcher-service-type
|
||||
(service-type (name 'ganeti-watcher)
|
||||
|
@ -725,7 +726,8 @@ (define ganeti-cleaner-jobs
|
|||
#~('#$master-schedule)))
|
||||
(lambda ()
|
||||
(system* #$(file-append ganeti "/sbin/ganeti-cleaner")
|
||||
"master")))
|
||||
"master"))
|
||||
"ganeti master cleaner")
|
||||
#~(job #$@(match node-schedule
|
||||
((? string?)
|
||||
#~(#$node-schedule))
|
||||
|
@ -733,7 +735,8 @@ (define ganeti-cleaner-jobs
|
|||
#~('#$node-schedule)))
|
||||
(lambda ()
|
||||
(system* #$(file-append ganeti "/sbin/ganeti-cleaner")
|
||||
"node")))))))
|
||||
"node"))
|
||||
"ganeti node cleaner")))))
|
||||
|
||||
(define ganeti-cleaner-service-type
|
||||
(service-type (name 'ganeti-cleaner)
|
||||
|
|
Loading…
Reference in a new issue