Forge Home


Install/update the Olson timezone database


10,647 latest version

4.6 quality score

We run a couple of automated
scans to help you access a
module's quality. Each module is
given a score based on how well
the author has formatted their
code and documentation and
modules are also checked for
malware using VirusTotal.

Please note, the information below
is for guidance only and neither of
these methods should be considered
an endorsement by Puppet.

Version information

  • 1.1.1 (latest)
  • 1.1.0
  • 1.0.3
  • 1.0.2
  • 1.0.1
  • 1.0.0
released Jan 25th 2015
This version is compatible with:
  • , , , Gentoo, ,

Start using this module

  • r10k or Code Manager
  • Bolt
  • Manual installation
  • Direct download

Add this module to your Puppetfile:

mod 'jhoblitt-tzdata', '1.1.1'
Learn more about managing modules with a Puppetfile

Add this module to your Bolt project:

bolt module add jhoblitt-tzdata
Learn more about using this module with an existing project

Manually install this module globally with Puppet module tool:

puppet module install jhoblitt-tzdata --version 1.1.1

Direct download is not typically how you would use a Puppet module to manage your infrastructure, but you may want to download the module in order to inspect the code.



jhoblitt/tzdata — version 1.1.1 Jan 25th 2015

Puppet tzdata Module

Build Status

Table of Contents

  1. Overview
  2. Description
  3. Usage
  4. Limitations
  5. Versioning
  6. Support
  7. See Also


Install/update the Olson timezone database


A simple puppet module to install (likely part of your core OS package set) and keep up to date the tz database / zoneinfo database / Olson database.

Government entities have historically made changes to timezones and daylights saving time periods with [little or no warning] ( However, it occasionally takes some time for this information to make it to the tzdata maintainers. It is not unheard of for updates to be applied retroactively. Therefore it is very important that this package be kept completely up to date.

The tzdata package (or what your OS calls it) provides mostly data files and thus has proven to be hassle free to update. As far as the authors experience, updating this package has never caused breakage. While on the other hand, even if you have an extremely tightly version controlled production system, you will virtually always want the latest version of this package. The Olson database is very conservatively maintained and typically your OS vendor will evaluate those changes yet again (certainly true in the case of RedHat) before issuing an updated package. For those reasons, default behavior of this package is to ensure that the latest version is always installed.

The intended usage of this module is to include it in virtually all of your manifests without having to pass any parameters to it.



    include tzdata

Always Update

This is the default behave and is semanticaaly the same as including the class in the manifest instead of declaring it.

    class { tzdata:
      ensure => latest, # default

Install Only

    class { tzdata:
      ensure => present,


    class { tzdata:
      ensure => absent,


Tested Platforms

  • el5.x
  • el6.x
  • Debian 7.0 (wheezy)
  • Gentoo 13.0


This module is versioned according to the Semantic Versioning 2.0.0 specification.


Please log tickets and issues at github

See Also