summaryrefslogtreecommitdiff
path: root/tests/cloud_tests/configs/modules/ntp_servers.yaml
blob: 934b9c5db2e24686cddcbc9c54f0fc5aeeafed88 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
#
# NTP config using specific servers
#
cloud_config: |
  #cloud-config
  ntp:
    servers:
        - pool.ntp.org
collect_scripts:
  ntp_installed_servers: |
    #!/bin/bash
    dpkg -l | grep ntp | wc -l
  ntp_conf_dist_servers: |
    #!/bin/bash
    ls /etc/ntp.conf.dist | wc -l
  ntp_conf_servers: |
    #!/bin/bash
    grep '^server' /etc/ntp.conf

# vi: ts=4 expandtab