re-roll /etc/cron.d/autocert hour/minute less frequently
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
autocert-charm |
Confirmed
|
Undecided
|
Unassigned |
Bug Description
Every time write_cronjob is called, it re-renders /etc/cron.
Per logs, this is the culprit:
@when('
def configure_
if hookenv.hook_name() == 'update-status':
return
# [...]
write_cronjob()
From checking the Juju log it seems the breakdown of not-short-circuited hooks are:
143 "leader-
65 "leader-elected"
1 "config-changed"
1 "juju-info-
Changed in autocert-charm: | |
status: | New → Confirmed |