1 # frozen_string_literal: true
3 dispatcher_stanza = <<-DISPATCHER_STANZA
6 http://fixme.example.net:9006: {}
12 when 'debian', 'ubuntu'
16 control 'arvados configuration' do
17 title 'should match desired dispatcher lines'
19 describe file('/etc/arvados/config.yml') do
21 it { should be_owned_by 'root' }
22 # We're testing it in the API instance, so group will be nginx's
23 it { should be_grouped_into group }
24 its('mode') { should cmp '0640' }
27 'File managed by Salt at <salt://arvados/files/default/config.tmpl.jinja>.'
30 its('content') { should include(dispatcher_stanza) }