瀏覽代碼

test(config_spec): fix for Gentoo

tags/v1.2.4
Imran Iqbal 3 年之前
父節點
當前提交
18039a9aac
No account linked to committer's email address
共有 1 個文件被更改,包括 5 次插入1 次删除
  1. +5
    -1
      test/integration/default/controls/config_spec.rb

+ 5
- 1
test/integration/default/controls/config_spec.rb 查看文件

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

Loading…
取消
儲存