summaryrefslogtreecommitdiff
path: root/tests/cloud_tests/testcases/modules/ntp.yaml
blob: fbef431baddac8dd8c97f6b2504d52a05de6a4d4 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
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