Install/update the Olson timezone database

Joshua Hoblitt



9,564 latest version

4.6 quality score

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:
  • RedHat
    , Gentoo,

Start using this module


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