瀏覽代碼

test(config_spec): fix for Gentoo

tags/v1.2.4
Imran Iqbal 3 年之前
父節點
當前提交
18039a9aac
沒有連結到貢獻者的電子郵件帳戶。
共有 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…
取消
儲存