Sha256: 581d5bc242197e393ec021130442e830f70e81c4f75bf33e48ecd0d01738961d

Contents?: true

Size: 526 Bytes

Versions: 10

Compression:

Stored size: 526 Bytes

Contents

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

10 entries across 10 versions & 1 rubygems

Version Path
serverspec-1.16.0 lib/serverspec/helper/os.rb
serverspec-1.15.0 lib/serverspec/helper/os.rb
serverspec-1.14.0 lib/serverspec/helper/os.rb
serverspec-1.13.0 lib/serverspec/helper/os.rb
serverspec-1.12.0 lib/serverspec/helper/os.rb
serverspec-1.11.0 lib/serverspec/helper/os.rb
serverspec-1.10.0 lib/serverspec/helper/os.rb
serverspec-1.9.1 lib/serverspec/helper/os.rb
serverspec-1.9.0 lib/serverspec/helper/os.rb
serverspec-1.8.0 lib/serverspec/helper/os.rb