Sha256: 9c82137765c4a3454aad2db4915262c5f1751b6b5f3005df7eeab97c31cd3fcd

Contents?: true

Size: 511 Bytes

Versions: 4

Compression:

Stored size: 511 Bytes

Contents

module Serverspec
  module Helper
    [
      'DetectOS',
      'AIX',
      'Arch',
      'Darwin',
      'Debian',
      'Fedora',
      'FreeBSD',
      'FreeBSD10',
      'Gentoo',
      'Plamo',
      'RedHat',
      'RedHat7',
      'SmartOS',
      'Solaris',
      'Solaris10',
      'Solaris11',
      'Windows',
    ].each do |os|
      eval <<-EOF
        module #{os}
          include self.class.const_get('Specinfra').const_get('Helper').const_get('#{os}')
        end
      EOF
    end
  end
end

Version data entries

4 entries across 4 versions & 1 rubygems

Version Path
serverspec-2.0.0.beta6 lib/serverspec/helper/os.rb
serverspec-2.0.0.beta5 lib/serverspec/helper/os.rb
serverspec-2.0.0.beta4 lib/serverspec/helper/os.rb
serverspec-2.0.0.beta3 lib/serverspec/helper/os.rb