1 # frozen_string_literal: true
3 users_stanza = <<-USERS_STANZA
5 AnonymousUserToken: anonymoususertokensetintheusersdict
8 keepstore_stanza = <<-KEEPSTORE_STANZA
11 http://keep0.fixme.example.net:25107: {}
14 volumes_stanza = <<-VOLUMES_STANZA
16 fixme-nyw5e-000000000000000:
18 http://keep0.fixme.example.net:25107:
26 control 'arvados configuration' do
27 title 'should match desired keepstore lines'
29 describe file('/etc/arvados/config.yml') do
31 it { should be_owned_by 'root' }
32 it { should be_grouped_into 'root' }
33 its('mode') { should cmp '0640' }
36 'File managed by Salt at <salt://arvados/files/default/config.tmpl.jinja>.'
39 its('content') { should include(keepstore_stanza) }
40 its('content') { should include(volumes_stanza) }
41 its('content') { should include(users_stanza) }