Skip to content
Snippets Groups Projects
Select Git revision
  • 35eea30e0b01a2ef2f385c99f6782ae67565bdc3
  • master default
  • fix-remote-url_v4.9.1
  • fix-remote-url_v4.8.3
  • fix-remote-url_v4.8.x
  • fix-remote-url_v4.7.x
  • fix-remote-url_v4.6.0
  • fix-remote-urls
8 results

questiondisplayoptions.php

Blame
  • packages_spec.rb 460 B
    # frozen_string_literal: true
    
    control 'Tomcat packages' do
      title 'should be installed'
    
      # Overide by platform
      packages =
        case platform[:family]
        when 'debian'
          case platform[:release]
          when /^10/
            %w[tomcat9 haveged]
          else
            %w[tomcat8 haveged]
          end
        when 'redhat', 'fedora', 'suse'
          %w[tomcat]
        end
    
      packages.each do |p|
        describe package(p) do
          it { should be_installed }
        end
      end
    end