Sha256: f3752aef98b629b2ededb82bd37c42bd086a479a617a8bda845591c7bbbfeda5

Contents?: true

Size: 478 Bytes

Versions: 6

Compression:

Stored size: 478 Bytes

Contents

module Serverspec
  module Helper
    [
      'DetectOS',
      'AIX',
      'Arch',
      '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

6 entries across 6 versions & 1 rubygems

Version Path
serverspec-1.4.2 lib/serverspec/helper/os.rb
serverspec-2.0.0.beta1 lib/serverspec/helper/os.rb
serverspec-1.4.1 lib/serverspec/helper/os.rb
serverspec-1.4.0 lib/serverspec/helper/os.rb
serverspec-1.3.0 lib/serverspec/helper/os.rb
serverspec-1.2.0 lib/serverspec/helper/os.rb