Skip to content

Commit

Permalink
Merge pull request kubernetes#12124 from justinsb/install_ntpd
Browse files Browse the repository at this point in the history
AWS: Install ntp daemon on all nodes
  • Loading branch information
Marek Grabowski committed Aug 3, 2015
2 parents 8dd1171 + 463458b commit 0b3f217
Show file tree
Hide file tree
Showing 2 changed files with 14 additions and 0 deletions.
11 changes: 11 additions & 0 deletions cluster/saltbase/salt/ntp/init.sls
Original file line number Diff line number Diff line change
@@ -0,0 +1,11 @@
ntp:
pkg:
- installed

ntp-service:
service:
- running
- name: ntp
- watch:
- pkg: ntp

3 changes: 3 additions & 0 deletions cluster/saltbase/salt/top.sls
Original file line number Diff line number Diff line change
Expand Up @@ -3,6 +3,9 @@ base:
- base
- debian-auto-upgrades
- salt-helpers
{% if grains.get('cloud') == 'aws' %}
- ntp
{% endif %}

'roles:kubernetes-pool':
- match: grain
Expand Down

0 comments on commit 0b3f217

Please sign in to comment.