Skip to content

tohuwabohu/puppet-openntp

Repository files navigation

openntp

License build-and-test Puppet Forge Puppet Forge - downloads

Overview

This module installs and manages OpenNTPD.

Usage

  • Just use the default installation
class { 'openntp': }
  • Specify a list of time servers to use
class { 'openntp': server => ['ntp.example.org'] }

Limitations

The module has been tested on the following operating systems. Testing and patches for other platforms are welcome.

  • Debian 9.0 (Stretch)
  • Debian 10.0 (Buster)
  • Ubuntu 18.04 (Bionic Beaver)
  • Ubuntu 20.04 (Focal Fossa)
  • FreeBSD 10

Contributing

  1. Fork it
  2. Create your feature branch (git checkout -b my-new-feature)
  3. Commit your changes (git commit -am 'Add some feature')
  4. Push to the branch (git push origin my-new-feature)
  5. Create new Pull Request

Development

This project uses rspec-puppet and beaker to ensure the module works as expected and to prevent regressions.

gem install bundler
bundle install --path vendor

bundle exec rake spec
bundle exec rake beaker

(note: see Beaker - Supported ENV variables for a list of environment variables to control the default behaviour of Beaker)