ntp centos #1
Description
Enables and starts chrony using configured servers.
- Tags:
- centos ›
Overview - ntp-centos
- It installs and enables chrony to sync time.
Charm configuration
You can configure your ntp servers as:
juju config ntp servers="1.ntp.server 2.ntp.server 3.ntp.server "
Deploying the charm
This is a subordinate charm so deploying needs a principal charm:
juju deploy slurm-node-centos juju deploy ntp-centos juju relate ntp-centos slurm-node-centos
Actions
These are the operator actions available.
status
Retrieve output from chronyc to see ntp status
juju run action ntp-centos/0 status --wait
Configuration
- servers
- (string) The space separated servers to use for ntp
- 0.centos.pool.ntp.org 1.centos.pool.ntp.org 2.centos.pool.ntp.org 3.centos.pool.ntp.org