Page MenuHomeDevCentral

D2896.id7384.diff
No OneTemporary

D2896.id7384.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
Mon, Nov 18, 22:49 (13 h, 53 m)
Storage Engine
blob
Storage Format
Raw Data
Storage Handle
2251402
Default Alt Text
D2896.id7384.diff (1 KB)

Event Timeline