Advertisement
Guest User

Untitled

a guest
Nov 8th, 2013
58
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
Python 0.41 KB | None | 0 0
  1. ntpdate = state('ntpdate')
  2. ntpdate.file.managed(
  3.     name = '/etc/sysconfig/ntpdate',
  4.     template = 'jinja',
  5.     user = 'root',
  6.     group = 'root',
  7.     mode = 644,
  8.     source = 'salt://core/templates/ntpdate/ntpdate.jinja',
  9.     context = {
  10.       'options': __salt__['pillar.get']('core:ntpdate:options', '-U ntp -s -b'),
  11.       'sync_hwclock': __salt__['pillar.get']('core:ntpdate:sync_hwclock', 'yes'),
  12.     }
  13. )
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement