tzdata

Install/update the Olson timezone database

Joshua Hoblitt

jhoblitt

11,861 downloads

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
    ,
    CentOS
    ,
    Scientific
    , Gentoo,
    Debian
    ,
    Ubuntu

Start using this module

Documentation

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

Overview

Install/update the Olson timezone database

Description

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] (http://en.wikipedia.org/wiki/Daylight_saving_time_in_Chile). 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.

Usage

Basic

    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,
    }

Uninstall

    class { tzdata:
      ensure => absent,
    }

Limitations

Tested Platforms

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

Versioning

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

Support

Please log tickets and issues at github

See Also