浏览代码

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'

正在加载...
取消
保存