Sha256: 7c3a388a734873cb9223744b085091f526b4167876861128b02640810b61e2dd

Contents?: true

Size: 450 Bytes

Versions: 5

Compression:

Stored size: 450 Bytes

Contents

module Serverspec
  module Helper
    [
     'DetectOS',
     'AIX',
     'Darwin',
     'Debian',
     'FreeBSD',
     'FreeBSD10',
     'Gentoo',
     'Plamo',
     'RedHat',
     '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

5 entries across 5 versions & 1 rubygems

Version Path
serverspec-1.0.0 lib/serverspec/helper/os.rb
serverspec-0.16.0 lib/serverspec/helper/os.rb
serverspec-0.15.5 lib/serverspec/helper/os.rb
serverspec-0.15.4 lib/serverspec/helper/os.rb
serverspec-0.15.3 lib/serverspec/helper/os.rb