Page MenuHomeDevCentral

D2896.id7385.diff
No OneTemporary

D2896.id7385.diff

diff --git a/roles/core/init.sls b/roles/core/init.sls
--- a/roles/core/init.sls
+++ b/roles/core/init.sls
@@ -14,6 +14,7 @@
- .memory
- .monitoring
- .motd
+ - .ntp
- .src
- .ports
- .rsyslog
diff --git a/roles/core/init.sls b/roles/core/ntp/init.sls
copy from roles/core/init.sls
copy to roles/core/ntp/init.sls
--- a/roles/core/init.sls
+++ b/roles/core/ntp/init.sls
@@ -1,26 +1,16 @@
# -------------------------------------------------------------
-# Salt — Core units
+# Salt — NTP
# - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
# Project: Nasqueron
# License: Trivial work, not eligible to copyright
# -------------------------------------------------------------
-include:
- - .rc
- - .certificates
- - .hostname
- - .login
- - .network
- - .memory
- - .monitoring
- - .motd
- - .src
- - .ports
- - .rsyslog
- - .salt
- - .sshd
- - .sudo
- - .sysctl
- - .timezone
- - .userland-software
- - .users
+{% if grains['os_family'] == 'RedHat' %}
+chrony:
+ pkg.installed
+
+chrony_service:
+ service.running:
+ - name: chronyd
+ - enable: true
+{% endif %}

File Metadata

Mime Type
text/plain
Expires
Tue, Dec 24, 23:35 (6 h, 14 m)
Storage Engine
blob
Storage Format
Raw Data
Storage Handle
2314144
Default Alt Text
D2896.id7385.diff (1 KB)

Event Timeline