Ecosyste.ms: Awesome

An open API service indexing awesome lists of open source software.

Awesome Lists | Featured Topics | Projects

https://github.com/tohuwabohu/puppet-openntp

Puppet module to manage the OpenNTP server
https://github.com/tohuwabohu/puppet-openntp

ntpd openntpd puppet

Last synced: about 1 month ago
JSON representation

Puppet module to manage the OpenNTP server

Awesome Lists containing this project

README

        

# openntp

[![License](https://img.shields.io/github/license/tohuwabohu/puppet-openntp.svg)](https://github.com/tohuwabohu/puppet-openntp/blob/master/LICENSE.txt)
[![build-and-test](https://github.com/tohuwabohu/puppet-openntp/actions/workflows/main.yml/badge.svg)](https://github.com/tohuwabohu/puppet-openntp/actions/workflows/main.yml)
[![Puppet Forge](https://img.shields.io/puppetforge/v/tohuwabohu/openntp.svg)](https://forge.puppetlabs.com/tohuwabohu/openntp)
[![Puppet Forge - downloads](https://img.shields.io/puppetforge/dt/tohuwabohu/openntp.svg)](https://forge.puppetlabs.com/tohuwabohu/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

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](https://github.com/puppetlabs/beaker-rspec/blob/master/README.md)
for a list of environment variables to control the default behaviour of Beaker)