Forge Home

timezone

System timezone configuration

9,966 downloads

9,448 latest version

2.4 quality score

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.

Download

Documentation

rlenglet/timezone — version 0.1.1 Jul 20th 2014

#timezone

####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

##Overview

Configures the system timezone.

##Module Description

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

##Setup

###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/zone.tab for the list of valid areas and zones.

##Usage

###Class: timezone

####Parameters

#####area

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

#####zone

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

##Limitations

This module is compatible only with Debian and Ubuntu.

##Development

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

##License

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

http://www.apache.org/licenses/LICENSE-2.0

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.