timezone

Table of Contents

  1. Module Description - What the module does and why it is useful

  2. Setup - The basics of getting started with timezone

  3. What timezone affects

  4. Setup requirements

  5. Beginning with timezone

  6. Usage - Configuration options and additional functionality

  7. Limitations - OS compatibility, etc.

  8. Development - Guide for contributing to the module

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.