Skip to content

feat(time): add optional chrony conf.d drop-ins#3

Open
Junjus wants to merge 2 commits intoSOSETH:masterfrom
Junjus:chrony-sources-dirs
Open

feat(time): add optional chrony conf.d drop-ins#3
Junjus wants to merge 2 commits intoSOSETH:masterfrom
Junjus:chrony-sources-dirs

Conversation

@Junjus
Copy link
Copy Markdown
Contributor

@Junjus Junjus commented Apr 26, 2026

Keep the existing /etc/chrony/chrony.conf flow unchanged so chrony.conf is still managed as before.

  • Add optional chrony_conf_dropins and chrony_sources_dropins variables to support chrony conf.d and sources.d drop-in files.
  • When chrony_conf_dropins_enable is set, creates the conf dropin directory and renders etc_chrony.conf as dropin.
  • When chrony_sources_dropin_enable is set, creates the sources dropin directory and renders out sources_files

Why:
Debian-Trixie prefers drop-in Chrony config files, but existing hosts should keep current behavior with no migration required.

Junjus added 2 commits April 26, 2026 02:38
Keep the existing /etc/chrony/chrony.conf flow unchanged so chrony.conf is still managed as before.
Add optional chrony_conf_dropins and chrony_sources_dropins variables to support chrony conf.d and sources.d drop-in files.
When chrony_conf_dropins_enable is set, creates the conf dropin directory and renders etc_chrony.conf as dropin.
When chrony_sources_dropin_enable is set, creates the sources dropin
directory and renders out sources_files

Why:
Debian-Trixie prefers drop-in Chrony config files, but existing hosts should keep current behavior with no migration required.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant