From 0ee829f91322ae1788ee6fb2a164cf06cdfff7db Mon Sep 17 00:00:00 2001 From: Joshua Powers Date: Mon, 2 Oct 2017 14:32:48 -0700 Subject: tests: Combine integration configs and testcases Combine the configs and testcases directories, so all files are together in one place. Update the test config location as well. --- tests/cloud_tests/testcases/modules/ntp.yaml | 21 +++++++++++++++++++++ 1 file changed, 21 insertions(+) create mode 100644 tests/cloud_tests/testcases/modules/ntp.yaml (limited to 'tests/cloud_tests/testcases/modules/ntp.yaml') diff --git a/tests/cloud_tests/testcases/modules/ntp.yaml b/tests/cloud_tests/testcases/modules/ntp.yaml new file mode 100644 index 00000000..fbef431b --- /dev/null +++ b/tests/cloud_tests/testcases/modules/ntp.yaml @@ -0,0 +1,21 @@ +# +# Emtpy NTP config to setup using defaults +# +cloud_config: | + #cloud-config + ntp: + pools: {} + servers: {} +collect_scripts: + ntp_installed: | + #!/bin/bash + ntpd --version > /dev/null 2>&1 + echo $? + ntp_conf_dist_empty: | + #!/bin/bash + ls /etc/ntp.conf.dist | wc -l + ntp_conf_pool_list: | + #!/bin/bash + grep 'pool.ntp.org' /etc/ntp.conf | grep -v ^# + +# vi: ts=4 expandtab -- cgit v1.2.3