Saltstack Official Chrony Formula
No puede seleccionar más de 25 temas Los temas deben comenzar con una letra o número, pueden incluir guiones ('-') y pueden tener hasta 35 caracteres de largo.

README.rst 2.8KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899
  1. .. _readme:
  2. chrony-formula
  3. ==============
  4. |img_travis| |img_sr|
  5. .. |img_travis| image:: https://travis-ci.com/saltstack-formulas/chrony-formula.svg?branch=master
  6. :alt: Travis CI Build Status
  7. :scale: 100%
  8. :target: https://travis-ci.com/saltstack-formulas/chrony-formula
  9. .. |img_sr| image:: https://img.shields.io/badge/%20%20%F0%9F%93%A6%F0%9F%9A%80-semantic--release-e10079.svg
  10. :alt: Semantic Release
  11. :scale: 100%
  12. :target: https://github.com/semantic-release/semantic-release
  13. Formula to set up and configure chrony
  14. .. contents:: **Table of Contents**
  15. General notes
  16. -------------
  17. See the full `SaltStack Formulas installation and usage instructions
  18. <https://docs.saltstack.com/en/latest/topics/development/conventions/formulas.html>`_.
  19. If you are interested in writing or contributing to formulas, please pay attention to the `Writing Formula Section
  20. <https://docs.saltstack.com/en/latest/topics/development/conventions/formulas.html#writing-formulas>`_.
  21. If you want to use this formula, please pay attention to the ``FORMULA`` file and/or ``git tag``,
  22. which contains the currently released version. This formula is versioned according to `Semantic Versioning <http://semver.org/>`_.
  23. See `Formula Versioning Section <https://docs.saltstack.com/en/latest/topics/development/conventions/formulas.html#versioning>`_ for more details.
  24. Contributing to this repo
  25. -------------------------
  26. **Commit message formatting is significant!!**
  27. Please see :ref:`How to contribute <CONTRIBUTING>` for more details.
  28. Available states
  29. ----------------
  30. .. contents::
  31. :local:
  32. ``chrony``
  33. ^^^^^^^^^^
  34. *Meta-state (This is a state that includes other states)*.
  35. This installs the chrony package,
  36. manages the chrony configuration file and then
  37. starts the associated chrony service.
  38. ``chrony.package``
  39. ^^^^^^^^^^^^^^^^^^
  40. This state will install the chrony package only.
  41. ``chrony.config``
  42. ^^^^^^^^^^^^^^^^^
  43. This state will configure the chrony service and has a dependency on ``chrony.install``
  44. via include list.
  45. ``chrony.service``
  46. ^^^^^^^^^^^^^^^^^^
  47. This state will start the chrony service and has a dependency on ``chrony.config``
  48. via include list.
  49. ``chrony.clean``
  50. ^^^^^^^^^^^^^^^^
  51. *Meta-state (This is a state that includes other states)*.
  52. this state will undo everything performed in the ``chrony`` meta-state in reverse order, i.e.
  53. stops the service,
  54. removes the configuration file and
  55. then uninstalls the package.
  56. ``chrony.service.clean``
  57. ^^^^^^^^^^^^^^^^^^^^^^^^
  58. This state will stop the chrony service and disable it at boot time.
  59. ``chrony.config.clean``
  60. ^^^^^^^^^^^^^^^^^^^^^^^
  61. This state will remove the configuration of the chrony service and has a
  62. dependency on ``chrony.service.clean`` via include list.
  63. ``chrony.package.clean``
  64. ^^^^^^^^^^^^^^^^^^^^^^^^
  65. This state will remove the chrony package and has a depency on
  66. ``chrony.config.clean`` via include list.