Page MenuHomeDevCentral

init.sls
No OneTemporary

init.sls

# -------------------------------------------------------------
# Salt — NTP
# - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
# Project: Nasqueron
# License: Trivial work, not eligible to copyright
# -------------------------------------------------------------
{% if grains['os_family'] == 'RedHat' %}
chrony:
pkg.installed
chrony_service:
service.running:
- name: chronyd
- enable: true
{% endif %}
{% if grains["os"] == "FreeBSD" %}
/etc/rc.conf.d/ntpd:
file.managed:
- source: salt://roles/core/ntp/files/rc/ntpd.conf
ntpd:
service.running:
- enable: True
{% endif %}

File Metadata

Mime Type
text/plain
Expires
Sat, Nov 7, 03:02 (1 d, 6 h)
Storage Engine
blob
Storage Format
Raw Data
Storage Handle
4095215
Default Alt Text
init.sls (643 B)

Event Timeline