Skip to content

sous-chefs/ntp

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

651 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

NTP Cookbook

Cookbook Version CI State License

The ntp cookbook now provides a single custom resource, ntp_service, for managing the distro-packaged NTP service on current Debian, Ubuntu, and Enterprise Linux 9+ releases.

Supported Platforms

  • Debian 12+
  • Enterprise Linux 9+
  • Ubuntu 22.04+

Additional platform constraints are documented in LIMITATIONS.md.

Resource

ntp_service

Use ntp_service to install the platform-appropriate NTP package, render the packaged config file, and enable the packaged systemd service.

ntp_service 'default' do
  servers %w(0.pool.ntp.org 1.pool.ntp.org 2.pool.ntp.org 3.pool.ntp.org)
end

See documentation/ntp_ntp_service.md for the full property reference.

Testing

cookstyle
chef exec rspec
KITCHEN_LOCAL_YAML=kitchen.dokken.yml kitchen test default-ubuntu-2404 default-rockylinux-9 --destroy=always

About

Development repository for the ntp cookbook

Topics

Resources

License

Code of conduct

Contributing

Stars

68 stars

Watchers

25 watching

Forks

Sponsor this project

Packages

 
 
 

Contributors