X-Git-Url: https://git.friedersdorff.com/?a=blobdiff_plain;f=states%2Fntp%2Fgentoo.sls;h=cc001540677a2d6cd2dd89238844497ded11b5de;hb=d28495f157ce749d456fc494e9f70b0544ac3eec;hp=03a82537ba4058732ac7da3a708306d88b71cc64;hpb=86802342be3c8bd8d4af84fd8d4ccca6cb4fba89;p=max%2Fsaltfiles.git diff --git a/states/ntp/gentoo.sls b/states/ntp/gentoo.sls index 03a8253..cc00154 100644 --- a/states/ntp/gentoo.sls +++ b/states/ntp/gentoo.sls @@ -1,9 +1,17 @@ install ntp: - pkg.install: + pkg.installed: - name: net-misc/ntp + - refresh: False - 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']