Version information
This version is compatible with:
- Puppet Enterprise 2023.2.x, 2023.1.x, 2023.0.x, 2021.7.x, 2021.6.x, 2021.5.x, 2021.4.x, 2021.3.x, 2021.2.x, 2021.1.x, 2021.0.x, 2019.8.x, 2019.7.x, 2019.5.x, 2019.4.x, 2019.3.x, 2019.2.x, 2019.1.x, 2019.0.x, 2018.1.x, 2017.3.x
- Puppet >= 5.0.0 < 8.0.0
- , ,
Start using this module
Add this module to your Puppetfile:
mod 'tohuwabohu-openntp', '4.1.0'
Learn more about managing modules with a PuppetfileDocumentation
openntp
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
- Fork it
- Create your feature branch (
git checkout -b my-new-feature
) - Commit your changes (
git commit -am 'Add some feature'
) - Push to the branch (
git push origin my-new-feature
) - 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)
Changelog
All notable changes to this project will be documented in this file.
The format is based on Keep a Changelog, and this project adheres to Semantic Versioning.
4.1.0 - 2021-02-23
Added
- Support for Puppet 7
Changed
- Migrate from travis-ci.org to Github Actions due to pending shutdown :sob:
- Replace Ubuntu 16.04 with Ubuntu 20.04 in acceptance test matrix
4.0.0 - 2020-03-29
Changed
- Replace deprecated
validate_
puppetlabs/stdlib functions with Puppet data types - Required puppetlabs/stdlib version has been bumped to 4.13.0
Removed
- Previously deprecated parameter
service_restart
- Redundant work-around to purge ntpd and reload apparmor rules after that on Ubuntu
3.1.0 - 2020-03-29
Summary
This release opens up the support of puppetlabs/stdlib to 6.x whilst still supporting 4.x.
Changed
- Bump support for puppetlabs/stdlib for up to 6.x
3.0.0 - 2020-03-29
Summary
This release adds support for Puppet 5 and 6 and thus replaces $::osfamily
with $facts['os']['family']
.
Added
- Support for Puppet 5 and 6
Changed
- Update Ruby Gems
- Update test matrix: support Debian 9/10 and Ubuntu 16.04/18.04
Removed
- Stopped officially supporting Puppet 4 and below
- Removed redundant
service_restart
parameter
2016-06-13 - Release 2.3.0
###Summary
Add support for FreeBSD (#6.
##2016-03-25 - Release 2.1.0 ###Summary
This release improves compatibility with Puppet 4.
####Improvements
Replace ripienaar/module_data with params.pp
; the module is
unlikly to work with Puppet 4 (see Native Puppet 4 Data in Modules)
and in order to not break Puppet 3 support it is easier to just stick with a simple params.pp
for the moment.
Furthermore, the test infrastructure has been overhauled:
- Bump gem dependencies to the latest version
- Bump Puppet module dependencies to the latest version
- Update travis test matrix and add support for Puppet 4
##2016-01-11 - Release 2.0.2 ###Summary
Apparmor reload will only happen if parser exists (#1 and #2).
Furthermore, the test infrastructure has been updated
- Update all gems to the latest version
- Update all Beaker acceptance tests to use Docker instead of Virtualbox
- Remove Ruby 1.8.7 from test matrix
##2015-02-08 - Release 2.0.1 ###Summary
- Ensure generated configuration file is consistent with previous version
##2015-02-07 - Release 2.0.0 ###Summary
- Add module_data to replace params class and make os-specific configuration easier (requires Puppet 3.x)
- Add
options_hash
to use custom data in combination with a customtemplate
- Add custom restart script to ensure to service is really running after a restart (can be turned off)
- Add support for Ubuntu 12.04 and 14.04
- Add acceptance tests to make sure everything works in practice
Dependencies
- puppetlabs/stdlib (>= 4.13.0 < 7.0.0)