~raharper/cloud-init:bug-lp-1645644-ntp

Last commit made on 2017-05-12
Get this branch:
git clone -b bug-lp-1645644-ntp https://git.launchpad.net/~raharper/cloud-init
Only Ryan Harper can upload to this branch. If you are Ryan Harper please log in for upload directions.

Branch merges

Branch information

Name:
bug-lp-1645644-ntp
Repository:
lp:~raharper/cloud-init

Recent commits

039fad4... by Ryan Harper

Merge branch 'bug-lp-1645644-ntp' of git.launchpad.net:~raharper/cloud-init into bug-lp-1645644-ntp

61fa4b0... by Ryan Harper

cloud_tests: ntp_pools: remove duplicate test I accidentally left in

Signed-off-by: Ryan Harper <email address hidden>

54f0ffe... by Ryan Harper

cloud_tests: update ntp tests to match cc_ntp behavior

cc_ntp handling was updated to ensure that we write out our
configuration template prior to installing so ntpd doesn't
attempt to contact a server that wasn't configured.

Add a new test to use ntpq to query which servers/pools are
used and that it matches the supplied cloud-config.

LP: #1645644

Signed-off-by: Ryan Harper <email address hidden>

1fdb0ec... by Ryan Harper

tox: update cittest to just take {posargs}

2571946... by Ryan Harper

cc_ntp: Add unittest to test for exception if restart fails

Add a unittest to ensure we raise an exception if we fail
when restarting ntp service.

Signed-off-by: Ryan Harper <email address hidden>

62e56aa... by Ryan Harper

Address merge feedback

Signed-off-by: Ryan Harper <email address hidden>

7ca55db... by Ryan Harper

test_handler_ntp: mock out systemd check

Signed-off-by: Ryan Harper <email address hidden>

09ae78f... by Ryan Harper

cloud_tests: ntp_pools: remove duplicate test I accidentally left in

Signed-off-by: Ryan Harper <email address hidden>

f22f661... by Ryan Harper

cloud_tests: update ntp tests to match cc_ntp behavior

cc_ntp handling was updated to ensure that we write out our
configuration template prior to installing so ntpd doesn't
attempt to contact a server that wasn't configured.

Add a new test to use ntpq to query which servers/pools are
used and that it matches the supplied cloud-config.

LP: #1645644

Signed-off-by: Ryan Harper <email address hidden>

06008d2... by Ryan Harper

cloud_test: add integration test

Signed-off-by: Ryan Harper <email address hidden>