chrony-formula

Travis CI Build Status Semantic Release

Formula to set up and configure chrony

1. General notes

If you are interested in writing or contributing to formulas, please pay attention to the Writing Formula Section.

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.

See Formula Versioning Section for more details.

2. Contributing to this repo

Commit message formatting is significant!!

Please see How to contribute for more details.

3. Available states

3.1. chrony

Meta-state (This is a state that includes other states).

This installs the chrony package, manages the chrony configuration file and then starts the associated chrony service.

3.2. chrony.package

This state will install the chrony package only.

3.3. chrony.config

This state will configure the chrony service and has a dependency on chrony.install via include list.

3.4. chrony.service

This state will start the chrony service and has a dependency on chrony.config via include list.

3.5. chrony.clean

Meta-state (This is a state that includes other states).

this state will undo everything performed in the chrony meta-state in reverse order, i.e. stops the service, removes the configuration file and then uninstalls the package.

3.6. chrony.service.clean

This state will stop the chrony service and disable it at boot time.

3.7. chrony.config.clean

This state will remove the configuration of the chrony service and has a dependency on chrony.service.clean via include list.

3.8. chrony.package.clean

This state will remove the chrony package and has a depency on chrony.config.clean via include list.