1 # frozen_string_literal: true
3 workbench_config = <<-WORKBENCH_STANZA
5 SecretKeyBase: changeme_workbench_secret_key
9 workbench_service = <<-WORKBENCH_SERVICE_STANZA
11 ExternalURL: "https://workbench.example.net"
12 WORKBENCH_SERVICE_STANZA
14 control 'arvados configuration' do
15 title 'should match desired workbench lines'
17 describe file('/etc/arvados/config.yml') do
19 it { should be_owned_by 'root' }
20 it { should be_grouped_into 'www-data' }
21 its('mode') { should cmp '0640' }
24 'File managed by Salt at <salt://arvados/files/default/config.tmpl.jinja>.'
27 its('content') { should include(workbench_config) }
28 its('content') { should include(workbench_service) }