Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- ntpdate = state('ntpdate')
- ntpdate.file.managed(
- name = '/etc/sysconfig/ntpdate',
- template = 'jinja',
- user = 'root',
- group = 'root',
- mode = 644,
- source = 'salt://core/templates/ntpdate/ntpdate.jinja',
- context = {
- 'options': __salt__['pillar.get']('core:ntpdate:options', '-U ntp -s -b'),
- 'sync_hwclock': __salt__['pillar.get']('core:ntpdate:sync_hwclock', 'yes'),
- }
- )
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement