summaryrefslogtreecommitdiff
path: root/tests/cloud_tests/testcases/modules/ntp_chrony.yaml
blob: 120735e28d25e9e48eb64a3d6ebaa7157fd75c99 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
#
# ntp enabled, chrony selected, check conf file
# as chrony won't start in a container
#
cloud_config: |
  #cloud-config
  ntp:
    enabled: true
    ntp_client: chrony
collect_scripts:
  chrony_conf: |
    #!/bin/sh
    set -- /etc/chrony.conf /etc/chrony/chrony.conf
    for p in "$@"; do
        [ -e "$p" ] && { cat "$p"; exit; }
    done
# vi: ts=4 expandtab