Pārlūkot izejas kodu

test(config_spec): fix for Gentoo

tags/v1.2.4
Imran Iqbal pirms 3 gadiem
vecāks
revīzija
18039a9aac
Revīzijas autora e-pasta adrese nav piesaistīta nevienam kontam
1 mainītis faili ar 5 papildinājumiem un 1 dzēšanām
  1. +5
    -1
      test/integration/default/controls/config_spec.rb

+ 5
- 1
test/integration/default/controls/config_spec.rb Parādīt failu

@@ -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'

Notiek ielāde…
Atcelt
Saglabāt