Page Menu
Home
DevCentral
Search
Configure Global Search
Log In
Files
F3937355
D2896.id7384.diff
No One
Temporary
Actions
View File
Edit File
Delete File
View Transforms
Subscribe
Mute Notifications
Award Token
Flag For Later
Size
1 KB
Referenced Files
None
Subscribers
None
D2896.id7384.diff
View Options
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
Details
Attached
Mime Type
text/plain
Expires
Tue, Dec 24, 17:35 (17 h, 24 m)
Storage Engine
blob
Storage Format
Raw Data
Storage Handle
2314144
Default Alt Text
D2896.id7384.diff (1 KB)
Attached To
Mode
D2896: Install chrony on Alma/Rocky/CentOS/RHEL servers
Attached
Detach File
Event Timeline
Log In to Comment