- Module Description - What the module does and why it is useful
- Setup - The basics of getting started with timezone
- Usage - Configuration options and additional functionality
- Limitations - OS compatibility, etc.
- Development - Guide for contributing to the module
This module manages the timezone.
It symlinks /etc/localtime to the appropriate timezone under
/usr/share/zoneinfo/. On EL6 it manages /etc/sysconfig/clock. On
Debian and Ubuntu it manages /etc/timezone.
This module has no dependencies outside of stdlib.
Include the timezone class to set your timezone to 'UTC'.
include timezoneclass { 'timezone':
timezone => 'Europe/Berlin',
}timezone::timezone: 'Europe/Berlin'You can specify if the hardware clock is set to UTC.
class { 'timezone':
hwclock_utc => true,
}timezone::hwclock_utc: trueThis module has been tested to work on the following platforms with the
latest releases of Puppet v5 and v6 with the ruby versions associated with those
platforms. See .travis.yml for an exact matrix.
- EL 6
- EL 7
- Debian 8
- Debian 9
- Ubuntu 14.04 LTS
- Ubuntu 16.04 LTS
- Ubuntu 18.04 LTS
See CONTRIBUTING.md for information related to the development of this
module.