We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 4df4a07 commit a01b900Copy full SHA for a01b900
salt/base/sanity.sls
@@ -5,7 +5,19 @@ niceties:
5
- htop
6
- traceroute
7
8
-time-sync:
+{% if grains["oscodename"] in ["noble"] %}
9
+systemd-timesyncd:
10
+ pkg:
11
+ - installed
12
+ service:
13
+ {% if grains["detect_virt"] in ["docker"] %}
14
+ - enabled
15
+ {% else %}
16
+ - running
17
+ - enable: True
18
+ {% endif %}
19
+{% else %}
20
+ntp-packages:
21
pkg.installed:
22
- pkgs:
23
- ntp
@@ -15,7 +27,7 @@ ntp:
27
service:
28
- running
29
- enable: True
-
30
+{% endif %}
31
32
# Cron has a default $PATH of only /usr/bin:/bin, however the root user's
33
# default $PATH in the shell includes various sbin directories. This can cause
0 commit comments