From: Maximilian Friedersdorff Date: Fri, 14 Jun 2019 10:25:51 +0000 (+0100) Subject: Run and enable ntp service X-Git-Url: https://git.friedersdorff.com/?a=commitdiff_plain;h=baee4b6e3340f2dc18b82b8f1f89c6cee6d1e969;p=max%2Fsaltfiles.git Run and enable ntp service --- diff --git a/states/ntp/gentoo.sls b/states/ntp/gentoo.sls index 7da6f2c..cc00154 100644 --- a/states/ntp/gentoo.sls +++ b/states/ntp/gentoo.sls @@ -5,6 +5,13 @@ install ntp: - require: - pkg: remove other ntp +run ntp service: + service.running: + - name: ntpd + - enable: True + - require: + - pkg: install ntp + remove other ntp: pkg.removed: - pkgs: ['net-misc/openntpd', 'net-misc/ntpclient']