Chef cookbook for managing your system timezone
Switch branches/tags
Nothing to show
Clone or download
Fetching latest commit…
Cannot retrieve the latest commit at this time.
Permalink
Failed to load latest commit information.
attributes
recipes
AUTHORS
README.md
metadata.rb

README.md

DESCRIPTION

This cookbook uses the tzdata package to update your system timezone.

It is only tested on Debian/Ubuntu, but would be easy to adapt and pull requests are welcome.

ATTRIBUTES

  • timezone[:zone]- The name of the timezone to configure. Eg. America/New_York. This value will be used as your /etc/timezone and the corresponding zoneinfo file will be symlinked to your /etc/localtime. Default: UTC
  • timezone[:tz_file]- File containing the configured timezone. Default: /etc/timezone

USAGE

'default' recipe

Installs the tzdata package and updates the timezone using dpkg-reconfigure tzdata if needed.