feat(distro): add centos-7 support
[arvados-formula.git] / test / integration / workbench2 / controls / config_spec.rb
index a6da20778510695d5b371b07016235782ae321fb..110cb1a0be7ae97d958dbbc6588363165c565a82 100644 (file)
@@ -2,16 +2,23 @@
 
 workbench2_service = <<-WORKBENCH2_STANZA
       Workbench2:
-        ExternalURL: "https://workbench2.example.net"
+        ExternalURL: https://workbench2.fixme.example.net
 WORKBENCH2_STANZA
 
+group = case os[:name]
+        when 'centos'
+          'nginx'
+        when 'debian', 'ubuntu'
+          'www-data'
+        end
+
 control 'arvados configuration' do
   title 'should match desired workbench2 lines'
 
   describe file('/etc/arvados/config.yml') do
     it { should be_file }
     it { should be_owned_by 'root' }
-    it { should be_grouped_into 'www-data' }
+    it { should be_grouped_into group }
     its('mode') { should cmp '0640' }
     its('content') do
       should include(