|
|
|
|
|
|
|
|
keyfile = 'keyfile ' |
|
|
keyfile = 'keyfile ' |
|
|
driftfile = '/var/lib/chrony/' |
|
|
driftfile = '/var/lib/chrony/' |
|
|
logdir = 'logdir /var/log/chrony' |
|
|
logdir = 'logdir /var/log/chrony' |
|
|
case os[:name] |
|
|
|
|
|
|
|
|
case platform[:name] |
|
|
when 'debian', 'ubuntu' |
|
|
when 'debian', 'ubuntu' |
|
|
config_file = '/etc/chrony/chrony.conf' |
|
|
config_file = '/etc/chrony/chrony.conf' |
|
|
keyfile += '/etc/chrony/chrony.keys' |
|
|
keyfile += '/etc/chrony/chrony.keys' |
|
|
driftfile += 'chrony.drift' |
|
|
driftfile += 'chrony.drift' |
|
|
|
|
|
when 'gentoo' |
|
|
|
|
|
config_file = '/etc/chrony/chrony.conf' |
|
|
|
|
|
keyfile += '/etc/chrony.keys' |
|
|
|
|
|
driftfile += 'drift' |
|
|
else |
|
|
else |
|
|
config_file = '/etc/chrony.conf' |
|
|
config_file = '/etc/chrony.conf' |
|
|
keyfile += '/etc/chrony.keys' |
|
|
keyfile += '/etc/chrony.keys' |