Browse Source

test(config_spec): fix for Gentoo

tags/v1.2.4
Imran Iqbal 3 years ago
parent
commit
18039a9aac
No account linked to committer's email address
1 changed files with 5 additions and 1 deletions
  1. +5
    -1
      test/integration/default/controls/config_spec.rb

+ 5
- 1
test/integration/default/controls/config_spec.rb View File

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'

Loading…
Cancel
Save