Configures the time synchronization application chrony as a client or server timeserver, maintaining the accuracy of the system clock (similar to NTP).
This cookbook is maintained by the Sous Chefs. The Sous Chefs are a community of Chef cookbook maintainers working together to maintain important cookbooks. If you'd like to know more please visit sous-chefs.org or come chat with us on the Chef Community Slack in #sous-chefs.
- Debian 12+
- Ubuntu 22.04+
- RHEL / AlmaLinux / Rocky / Oracle Linux 9+
- CentOS Stream 9+
- Amazon Linux 2023
- Fedora (latest)
- Chef >= 15.3
This cookbook provides the chrony_config custom resource. See documentation/chrony_config.md for full details.
chrony_config 'default' do
servers({ 'pool.ntp.org' => 'iburst' })
endchrony_config 'server' do
servers({
'ntp1.example.com' => 'iburst',
'ntp2.example.com' => 'iburst',
})
allow ['192.168.1.0/24']
endThis project exists thanks to all the people who contribute.
Thank you to all our backers!
Support this project by becoming a sponsor. Your logo will show up here with a link to your website.