]> git.friedersdorff.com Git - max/saltfiles.git/commitdiff
Actually run gentoo ntp state
authorMaximilian Friedersdorff <max@friedersdorff.com>
Fri, 14 Jun 2019 10:18:31 +0000 (11:18 +0100)
committerMaximilian Friedersdorff <max@friedersdorff.com>
Fri, 14 Jun 2019 10:18:31 +0000 (11:18 +0100)
states/ntp/gentoo.sls
states/ntp/init.sls
states/setup.sls

index 03a82537ba4058732ac7da3a708306d88b71cc64..7da6f2c030dd16e0220e98baa2fcc134f6372c58 100644 (file)
@@ -1,6 +1,7 @@
 install ntp:
-  pkg.install:
+  pkg.installed:
     - name: net-misc/ntp
+    - refresh: False
     - require:
       - pkg: remove other ntp
 
index 0555738e8a0afbc185a940ccdcd0c1973a9b46bd..c292853924a761ecf38c64b981ee8f92b60c3087 100644 (file)
@@ -1,3 +1,6 @@
+include:
+  - ntp.{{ grains['os'] | lower }}
+
 ntp configuration:
   file.managed:
     - name: /etc/ntp.conf
index 662362b100156572d95061e686277bb9d2a639f2..5d3f879816b35ccea7a7a2e2f8d59124ea52dae9 100644 (file)
@@ -1,2 +1,3 @@
 include:
   - setup-{{ grains['os_family'] | lower }}
+  - ntp