mirror of
https://github.com/k3s-io/kubernetes.git
synced 2025-07-23 03:41:45 +00:00
Merge pull request #12124 from justinsb/install_ntpd
AWS: Install ntp daemon on all nodes
This commit is contained in:
commit
0b3f21715f
11
cluster/saltbase/salt/ntp/init.sls
Normal file
11
cluster/saltbase/salt/ntp/init.sls
Normal file
@ -0,0 +1,11 @@
|
||||
ntp:
|
||||
pkg:
|
||||
- installed
|
||||
|
||||
ntp-service:
|
||||
service:
|
||||
- running
|
||||
- name: ntp
|
||||
- watch:
|
||||
- pkg: ntp
|
||||
|
@ -3,6 +3,9 @@ base:
|
||||
- base
|
||||
- debian-auto-upgrades
|
||||
- salt-helpers
|
||||
{% if grains.get('cloud') == 'aws' %}
|
||||
- ntp
|
||||
{% endif %}
|
||||
|
||||
'roles:kubernetes-pool':
|
||||
- match: grain
|
||||
|
Loading…
Reference in New Issue
Block a user