Version information
This version is compatible with:
- Gentoo, , , , ,
Start using this module
Add this module to your Puppetfile:
mod 'jhoblitt-tzdata', '1.1.1'
Learn more about managing modules with a PuppetfileDocumentation
Puppet tzdata Module
Table of Contents
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
[Current]
- 826b65d - (Joshua Hoblitt) replace Modulefile vs metadata.json
- 492a670 - (Joshua Hoblitt) replace rspec-system with beaker
- a6c63ee - (Joshua Hoblitt) update fixtures stdlib to 4.2.0
- 89668ea - (Joshua Hoblitt) Merge pull request #3 from jhoblitt/feature/future_parser
add future parser to travis matrix
- 0f3fda4 - (Joshua Hoblitt) add future parser to travis matrix
v1.1.0
- 9f86e5c - (Joshua Hoblitt) bump version to v1.1.0
- da7d5ce - (Joshua Hoblitt) Merge pull request #2 from jhoblitt/debian_support
Debian support
- 9362cb8 - (Joshua Hoblitt) add $::osfamily == debian support
- 75d0cce - (Joshua Hoblitt) rm old Changelog
- c2b3317 - (Joshua Hoblitt) Merge pull request #1 from jhoblitt/system-tests
add extremely basic rspec-system tests
- dcb9013 - (Joshua Hoblitt) add extremely basic rspec-system tests
v1.0.3
- 7ddb66c - (Joshua Hoblitt) bump version to v1.0.3
- dab7830 - (Joshua Hoblitt) fix rspec-puppet 1.0.1 deprecation warning
DEPRECATION: include_class is deprecated. Use contain_class instead.
- 11b2f55 - (Joshua Hoblitt) add :require => false to all Gemfile entries
- c046174 - (Joshua Hoblitt) sort .gitignore
- 7c2c63e - (Joshua Hoblitt) tidy up .fixtures.yml
- 6a84992 - (Joshua Hoblitt) trim travis test matrix
- 27b6bbd - (Joshua Hoblitt) update README boilerplate sections
v1.0.2
- 3564ef8 - (Joshua Hoblitt) bump version to v1.0.2
- 3f995f8 - (Joshua Hoblitt) fix README typos
- 7b9ac15 - (Joshua Hoblitt) support Gentoo as an $::osfamily
Instead of supporting it as an $::operatingsystem. This may break installations using old versions of facter but it's suspected that most Gentoo installations will be using recent versions of puppet/facter. the commit message for your changes. Lines starting
- 553ce56 - (Joshua Hoblitt) doc update
- b2256a8 - (Joshua Hoblitt) rm tests dir
- 8b098a4 - (Joshua Hoblitt) set stdlib requirement to 3.0.0
- 8191dcf - (Joshua Hoblitt) puppet-lint should ignore pkg/**
- 77fbabd - (Joshua Hoblitt) add puppet 3.3.0 to travis test matrix
- ae7e5df - (Joshua Hoblitt) exclude spec/fixtures/** from puppet-syntax checking
- 47cf09f - (Joshua Hoblitt) Merge remote-tracking branch 'skel/master'
- ed6a68b - (Joshua Hoblitt) ignore patch related files *{.orig,.rej,.patch}
- 6a67990 - (Joshua Hoblitt) add puppet-syntax support
- 435661d - (Joshua Hoblitt) add travis-ci build placard
- fb932f9 - (Joshua Hoblitt) add example spec test
- 5fed02b - (Joshua Hoblitt) exclude travis-ci testing of puppet < 3.2 with ruby >= 2.0
- 4050f0d - (Joshua Hoblitt) add a default .travis.yml
- c46ff1e - (Joshua Hoblitt) git ignore Gemfile.lock
- e86f789 - (Joshua Hoblitt) install ruby gems from https://rubygems.org instead of :rubygems
To resolve this warning:
The source :rubygems is deprecated because HTTP requests are insecure.
Please change your source to 'https://rubygems.org' if possible, or
'http://rubygems.org' if not.
- 95df6b6 - (Joshua Hoblitt) first commit
v1.0.1
- d40b9af - (Joshua Hoblitt) update Changelog for v1.0.1 release
- e5b328e - (Joshua Hoblitt) add basic rspec tests
- 7023943 - (Joshua Hoblitt) add .gitignore
- 80344a0 - (Joshua Hoblitt) change module version to v1.0.1
- 9f01de3 - (Joshua Hoblitt) add a simple Changelog for the forge
- aea9836 - (Joshua Hoblitt) enable travis-ci support
- 28d8ab3 - (Joshua Hoblitt) change license from GPLv2 or later to Apache 2.0
- f02e585 - (Joshua Hoblitt) add a Rakefile with a lint target + setup for rspec with puppetlabs_spec_helper
- Fix a trivial whitespace issue for puppet lint
- 14fc038 - (Joshua Hoblitt) set version to 1.0.0
- 9d472bd - (Joshua Hoblitt) add additional description
- 0c03d12 - (Joshua Hoblitt) fail by default unless the $::osfamily or $::operationsystem is known
- 3bd07ac - (Joshua Hoblitt) add dep on stdlib 0.1.5
validate_re() is used in class tzdata to validate class params.
- b06df59 - (Joshua Hoblitt) fwv
Dependencies
- puppetlabs/stdlib (>= 4.2.0 < 5.0.0)
Copyright (C) 2012-2013 Joshua Hoblitt <jhoblitt@cpan.org> 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.