mirror of
https://github.com/saltstack-formulas/timezone-formula.git
synced 2026-07-14 19:26:13 +02:00
## [0.4.3](https://github.com/saltstack-formulas/timezone-formula/compare/v0.4.2...v0.4.3) (2020-03-24) ### Bug Fixes * ensure formula works across all platforms ([ff66e5f](https://github.com/saltstack-formulas/timezone-formula/commit/ff66e5fd10c06da5dbe2ae2320fd8f2eddc459f7)) * **release.config.js:** use full commit hash in commit link [skip ci] ([9a77727](https://github.com/saltstack-formulas/timezone-formula/commit/9a77727e0cb36bd69c35e81c2c9dad699b6d8ac8)) ### Continuous Integration * **gemfile:** restrict `train` gem version until upstream fix [skip ci] ([17c50f0](https://github.com/saltstack-formulas/timezone-formula/commit/17c50f0dc6f73e9aeee959ae0f2bfb9e98900339)) * **kitchen:** avoid using bootstrap for `master` instances [skip ci] ([d3245cc](https://github.com/saltstack-formulas/timezone-formula/commit/d3245cc10438b5b63bbbbaa123bb23342ec37f48)) * **kitchen:** use `debian-10-master-py3` instead of `develop` [skip ci] ([ff64318](https://github.com/saltstack-formulas/timezone-formula/commit/ff643188e1c2e9691311fe7a35fa631db1159b5d)) * **kitchen:** use `develop` image until `master` is ready (`amazonlinux`) [skip ci] ([7e89450](https://github.com/saltstack-formulas/timezone-formula/commit/7e8945033e59ac01ee76bed5c319cdccb52fcf84)) * **kitchen+travis:** adjust matrix to add `3000` & remove `2017.7` ([e2301d5](https://github.com/saltstack-formulas/timezone-formula/commit/e2301d5c2fa47bd078b2d9f67630964bd21df1d4)) * **kitchen+travis:** upgrade matrix after `2019.2.2` release [skip ci] ([88c3cab](https://github.com/saltstack-formulas/timezone-formula/commit/88c3cabd7d0c4fa85306f2aaafa01959845087c6)) * **travis:** apply changes from build config validation [skip ci] ([438aeb2](https://github.com/saltstack-formulas/timezone-formula/commit/438aeb2ddc633d6104ab3d8c01b6513612903ad3)) * **travis:** opt-in to `dpl v2` to complete build config validation [skip ci] ([01b751e](https://github.com/saltstack-formulas/timezone-formula/commit/01b751e122b3a3716b09606d87c4b67b801eaf48)) * **travis:** quote pathspecs used with `git ls-files` [skip ci] ([a1c8254](https://github.com/saltstack-formulas/timezone-formula/commit/a1c82549d4d2f95d4c11902aaf1091dfcc022a83)) * **travis:** run `shellcheck` during lint job [skip ci] ([1996629](https://github.com/saltstack-formulas/timezone-formula/commit/1996629c72d095a092ba56993374a08e428218ca)) * **travis:** update `salt-lint` config for `v0.0.10` [skip ci] ([201a23b](https://github.com/saltstack-formulas/timezone-formula/commit/201a23b23c96331d48d5533e28378e1d48ebda2b)) * **travis:** use `major.minor` for `semantic-release` version [skip ci] ([2a79489](https://github.com/saltstack-formulas/timezone-formula/commit/2a79489fa7b3bd001379ebfae7adfa887f6e1072)) * **travis:** use build config validation (beta) [skip ci] ([d2dbc29](https://github.com/saltstack-formulas/timezone-formula/commit/d2dbc29153b4cc3dd15c7d731c9448e3a7011c9e)) ### Documentation * **contributing:** remove to use org-level file instead [skip ci] ([58900e1](https://github.com/saltstack-formulas/timezone-formula/commit/58900e1705f39fc8adc3753cb3c64fab21d42d19)) * **readme:** update link to `CONTRIBUTING` [skip ci] ([84ebbe0](https://github.com/saltstack-formulas/timezone-formula/commit/84ebbe0d0fb7f1eb1de3d8148fb43fcdb237c26b)) ### Performance Improvements * **travis:** improve `salt-lint` invocation [skip ci] ([18a7452](https://github.com/saltstack-formulas/timezone-formula/commit/18a74520ef49a75a31df2eda7bef81c06563aa77))
.. _readme:
timezone-formula
================
|img_travis| |img_sr|
.. |img_travis| image:: https://travis-ci.com/saltstack-formulas/timezone-formula.svg?branch=master
:alt: Travis CI Build Status
:scale: 100%
:target: https://travis-ci.com/saltstack-formulas/timezone-formula
.. |img_sr| image:: https://img.shields.io/badge/%20%20%F0%9F%93%A6%F0%9F%9A%80-semantic--release-e10079.svg
:alt: Semantic Release
:scale: 100%
:target: https://github.com/semantic-release/semantic-release
Formula to set up and configure timezone.
.. contents:: **Table of Contents**
General notes
-------------
See the full `SaltStack Formulas installation and usage instructions
<https://docs.saltstack.com/en/latest/topics/development/conventions/formulas.html>`_.
If you are interested in writing or contributing to formulas, please pay attention to the `Writing Formula Section
<https://docs.saltstack.com/en/latest/topics/development/conventions/formulas.html#writing-formulas>`_.
If you want to use this formula, please pay attention to the ``FORMULA`` file and/or ``git tag``,
which contains the currently released version. This formula is versioned according to `Semantic Versioning <http://semver.org/>`_.
See `Formula Versioning Section <https://docs.saltstack.com/en/latest/topics/development/conventions/formulas.html#versioning>`_ for more details.
Contributing to this repo
-------------------------
**Commit message formatting is significant!!**
Please see `How to contribute <https://github.com/saltstack-formulas/.github/blob/master/CONTRIBUTING.rst>`_ for more details.
Available states
----------------
.. contents::
:local:
``timezone``
^^^^^^^^^^^^
Installs and configures the timezone package.
Testing
-------
Linux testing is done with ``kitchen-salt``.
Requirements
^^^^^^^^^^^^
* Ruby
* Docker
.. code-block:: bash
$ gem install bundler
$ bundle install
$ bin/kitchen test [platform]
Where ``[platform]`` is the platform name defined in ``kitchen.yml``,
e.g. ``debian-9-2019-2-py3``.
``bin/kitchen converge``
^^^^^^^^^^^^^^^^^^^^^^^^
Creates the docker instance and runs the ``timezone`` main state, ready for testing.
``bin/kitchen verify``
^^^^^^^^^^^^^^^^^^^^^^
Runs the ``inspec`` tests on the actual instance.
``bin/kitchen destroy``
^^^^^^^^^^^^^^^^^^^^^^^
Removes the docker instance.
``bin/kitchen test``
^^^^^^^^^^^^^^^^^^^^
Runs all of the stages above in one go: i.e. ``destroy`` + ``converge`` + ``verify`` + ``destroy``.
``bin/kitchen login``
^^^^^^^^^^^^^^^^^^^^^
Gives you SSH access to the instance for manual testing.