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".master
parent
860e949896
commit
c97de4a989
|
@ -683,7 +683,8 @@ information to OS install scripts or instances.")))
|
|||
#~(#$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 @@ is declared offline by known master candidates.")))
|
|||
#~('#$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 @@ is declared offline by known master candidates.")))
|
|||
#~('#$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)
|
||||
|
|
Reference in New Issue