Robert Harker Technical Wiki
Thoughts and Ideas About Large Sites

[ Prev ] [ Index ] [ Next ]


Puppet Header

TOPIC

# = Class: ntp
#
# This class installs/configures/manages NTP. It can optionally disable NTP
# on virtual machines. Only supported on Debian-derived and Red Hat-derived OSes.
#
# == Parameters:
#
# $servers:: An array of NTP servers, with or without +iburst+ and
# +dynamic+ statements appended. Defaults to the OS's defaults.
# $enable:: Whether to start the NTP service on boot. Defaults to true. Valid
# values: true and false.
# $ensure:: Whether to run the NTP service. Defaults to running. Valid values:
# running and stopped.
#
# == Requires:
#
# Nothing.
#
# == Sample Usage:
#
# class {'ntp':
# servers => [ "ntp1.example.com dynamic",
# "ntp2.example.com dynamic", ],
# }
# class {'ntp':
# enable => false,
# ensure => stopped,
# }
#


Backlinks: index Start
Created with Zim desktop wiki