X-Git-Url: https://git.friedersdorff.com/?a=blobdiff_plain;f=states%2Fntp%2Fgentoo.sls;fp=states%2Fntp%2Fgentoo.sls;h=cc001540677a2d6cd2dd89238844497ded11b5de;hb=baee4b6e3340f2dc18b82b8f1f89c6cee6d1e969;hp=7da6f2c030dd16e0220e98baa2fcc134f6372c58;hpb=0c5bc8d851b403c5c746be5a6f3ce3250164bdde;p=max%2Fsaltfiles.git 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']