Forge Home


OpenNTP module for OpenBSD

Martin Oppegaard



9,632 latest version

3.3 quality score

Version information

  • 0.1.0 (latest)
released Dec 21st 2012

Start using this module

  • r10k or Code Manager
  • Bolt
  • Manual installation
  • Direct download

Add this module to your Puppetfile:

mod 'oppegaard-ntpd', '0.1.0'
Learn more about managing modules with a Puppetfile

Add this module to your Bolt project:

bolt module add oppegaard-ntpd
Learn more about using this module with an existing project

Manually install this module globally with Puppet module tool:

puppet module install oppegaard-ntpd --version 0.1.0

Direct download is not typically how you would use a Puppet module to manage your infrastructure, but you may want to download the module in order to inspect the code.



oppegaard/ntpd — version 0.1.0 Dec 21st 2012


Manages OpenNTPD - service and configuration.


Class ntpd takes one argument, settings, which is an array whose elements are the literal lines that will go into ntpd.conf(5). A minimal configuration which uses's European pool is as follows:

class { 'ntpd':
  settings => [


Setting up a server which requires ntpd to be started with the -s parameter.

class ntpd_server inherits ntpd::service::openbsd {
  class { 'ntpd':
    settings => [
      "listen on $::ipaddress",
  Rcconf['ntpd_flags'] {
    value => '"-s"',

node '' {
  include ntpd_server

See ntpd.conf(5) for how to configure OpenNTPD.