1 # frozen_string_literal: true
3 keepstore_stanza = <<-KEEPSTORE_STANZA
6 "http://keep0.example.net:25107/": {}
9 volumes_stanza = <<-VOLUMES_STANZA
12 fixme-nyw5e-000000000000000:
14 DriverParameters: {Root: /tmp}
15 AccessViaHosts: {'http://keep0.example.net:25107/': {}}
19 control 'arvados configuration' do
20 title 'should match desired keepstore lines'
22 describe file('/etc/arvados/config.yml') do
24 it { should be_owned_by 'root' }
25 it { should be_grouped_into 'root' }
26 its('mode') { should cmp '0640' }
29 'File managed by Salt at <salt://arvados/files/default/config.tmpl.jinja>.'
32 its('content') { should include(keepstore_stanza) }
33 its('content') { should include(volumes_stanza) }