summaryrefslogtreecommitdiff
path: root/tests/cloud_tests/testcases/modules/ntp.yaml
blob: 7ea0707d2f3b497dadc1c07e9e5dfc809291d88e (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
#
# Emtpy NTP config to setup using defaults
#
cloud_config: |
  #cloud-config
  ntp:
    ntp_client: 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