1 # frozen_string_literal: true
3 keepstore_stanza = <<-KEEPSTORE_STANZA
6 http://keep0.fixme.example.net:25107: {}
9 volumes_stanza = <<-VOLUMES_STANZA
11 fixme-nyw5e-000000000000000:
13 http://keep0.fixme.example.net:25107:
21 control 'arvados configuration' do
22 title 'should match desired keepstore lines'
24 describe file('/etc/arvados/config.yml') do
26 it { should be_owned_by 'root' }
27 it { should be_grouped_into 'root' }
28 its('mode') { should cmp '0640' }
31 'File managed by Salt at <salt://arvados/files/default/config.tmpl.jinja>.'
34 its('content') { should include(keepstore_stanza) }
35 its('content') { should include(volumes_stanza) }