Merge ~raharper/cloud-init:ntp-configure-timesyncd-fallback-lp-1686485 into cloud-init:master
Proposed by
Ryan Harper
Status: | Merged |
---|---|
Approved by: | Scott Moser |
Approved revision: | 32ec08e88d0dc01f70b600860c65ae258fb39e52 |
Merged at revision: | 5bba5db2655d88b8aba8fa06b30f8e91e2ca6836 |
Proposed branch: | ~raharper/cloud-init:ntp-configure-timesyncd-fallback-lp-1686485 |
Merge into: | cloud-init:master |
Diff against target: |
304 lines (+154/-17) 3 files modified
cloudinit/config/cc_ntp.py (+45/-13) templates/timesyncd.conf.tmpl (+8/-0) tests/unittests/test_handler/test_handler_ntp.py (+101/-4) |
Related bugs: |
Reviewer | Review Type | Date Requested | Status |
---|---|---|---|
Scott Moser | Approve | ||
Server Team CI bot | continuous-integration | Approve | |
Review via email: mp+328427@code.launchpad.net |
Description of the change
cc_ntp: fallback on timesyncd configuration if ntp is not installable
Some systems like Ubuntu-Core do not provide an ntp package for
installation but do include systemd-timesyncd (an ntp client).
On such systems cloud-init will generate a timesyncd configuration
using the 'servers' and 'pools' values as ntp hosts for timesyncd to use.
LP: #1686485
To post a comment you must log in.
PASSED: Continuous integration, rev:2a2e3a9ea8b 6e3dd84e523943e e663eaf42eb6bf /jenkins. ubuntu. com/server/ job/cloud- init-ci/ 109/
https:/
Executed test runs:
SUCCESS: Checkout
SUCCESS: Unit & Style Tests
SUCCESS: Ubuntu LTS: Build
SUCCESS: Ubuntu LTS: Integration
SUCCESS: CentOS 6 & 7: Build & Test
IN_PROGRESS: Declarative: Post Actions
Click here to trigger a rebuild: /jenkins. ubuntu. com/server/ job/cloud- init-ci/ 109/rebuild
https:/