Puppet Class: collectd::plugin::ntpd

Defined in:
manifests/plugin/ntpd.pp

Overview

Parameters:

  • ensure (Any) (defaults to: 'present')
  • host (Stdlib::Host) (defaults to: 'localhost')
  • port (Stdlib::Port) (defaults to: 123)
  • reverselookups (Any) (defaults to: false)
  • includeunitid (Any) (defaults to: false)
  • interval (Any) (defaults to: undef)


2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
# File 'manifests/plugin/ntpd.pp', line 2

class collectd::plugin::ntpd (
  $ensure           = 'present',
  Stdlib::Host $host = 'localhost',
  Stdlib::Port $port = 123,
  $reverselookups   = false,
  $includeunitid    = false,
  $interval         = undef,
) {
  include collectd

  collectd::plugin { 'ntpd':
    ensure   => $ensure,
    content  => template('collectd/plugin/ntpd.conf.erb'),
    interval => $interval,
  }
}