#timezone
####Table of Contents
- Overview - What is the timezone module?
- Module Description - What does the timezone module do?
- Setup - The basics of getting started with timezone
- Usage - Configuration options and additional functionality
- Limitations - OS compatibility, etc.
- Development - Guide for contributing to the module
- 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.