Forge Home


System timezone configuration


9,661 latest version

2.4 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

  • 0.1.1 (latest)
  • 0.1.0
released Jul 20th 2014
This version is compatible with:
  • Debian, Ubuntu

Start using this module

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

Add this module to your Puppetfile:

mod 'rlenglet-timezone', '0.1.1'
Learn more about managing modules with a Puppetfile

Add this module to your Bolt project:

bolt module add rlenglet-timezone
Learn more about using this module with an existing project

Manually install this module globally with Puppet module tool:

puppet module install rlenglet-timezone --version 0.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.



rlenglet/timezone — version 0.1.1 Jul 20th 2014


####Table of Contents

  1. Overview - What is the timezone module?
  2. Module Description - What does the timezone module do?
  3. Setup - The basics of getting started with timezone
  4. Usage - Configuration options and additional functionality
  5. Limitations - OS compatibility, etc.
  6. Development - Guide for contributing to the module
  7. License


Configures the system timezone.

##Module Description

The timezone class configures the system timezone on Debian/Ubuntu.


###What timezone affects

  • tzdata Debian/Ubuntu package.
  • /etc/timezone timezone configuration file.

###Beginning with timezone

Just include the timezone class, or optionally pass the timezone area and zone attributes, which default to Etc/UTC:

class { timezone:
  area => America,
  zone => Los_Angeles,

See /usr/share/zoneinfo/ for the list of valid areas and zones.


###Class: timezone



The general area of the timezone, e.g. Europe, America, etc. If not specified, defaults to Etc.


The timezone within the area, e.g. Paris, Los_Angeles, etc. If not specified, defaults to UTC.


This module is compatible only with Debian and Ubuntu.


Feedback and contributions are appreciated, in the form of issues or pull requests on the Github project page.


Copyright 2013, 2014 Romain Lenglet

Licensed under the Apache License, Version 2.0 (the "License"); you may not use this file except in compliance with the License. You may obtain a copy of the License at

Unless required by applicable law or agreed to in writing, software distributed under the License is distributed on an "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. See the License for the specific language governing permissions and limitations under the License.