timezone
Table of Contents
Module description
This module manages the timezone. Documented with Puppet Strings at ghoneycutt.github.io/puppet-module-timezone/.
Setup
What timezone affects
It symlinks /etc/localtime
to the appropriate timezone under /usr/share/zoneinfo/
. On Debian and Ubuntu it manages /etc/timezone
.
Setup requirements
This module has no dependencies outside of stdlib.
Beginning with timezone
Include the timezone
class to set your timezone to ‘UTC’.
include timezone
Usage
To set the timezone to something other than the default of ‘UTC’.
Example using a manifest
class { 'timezone':
timezone => 'Europe/Berlin',
}
Example using Hiera
timezone::timezone: 'Europe/Berlin'
Limitations
This module officially supports the platforms listed in the metadata.json
. It does not fail on unsupported platforms and has been known to work on many Linux platforms since its creation in 2014.
Development
See CONTRIBUTING.md
License
See LICENSE file.